WordPress 6.8
-
Hello, since upgrading to WordPress 6.8 I can no longer modify the content of the added points, the description popup window no longer works: any other similar observations?
-
Hi,
Thanks for reporting this. I’ve identified the issue and working on a fix, which should be available later today. I will let you know when it’s ready.
Hi again. This should be fixed with the latest update (2.8.7).
Can you please check to confirm?
Thanks!
It’s working again, thank you very much 🙏
Great! Than’s again for flagging the issue!
Hello,
Question of the day: is an import of .geojson files planned or possible? Thank you for your attention and have a nice day.It isn’t possible and I hadn’t thought about it. I am thinking that there could be an indirect workaround, though. Currently, the plugin supports importing locations via a
.jsonfile (see here). The expected format is different, though, so if you have the data in.geojsonyou could try to use an AI tool to convert it to the expected format.This is an interesting feature, though, and I will consider adding it in a future update. The infrastructure to import/export data is there already, so I would only have to add support for the
.geojsonformat.Thank you for your reply, I had done a test with a simple extension change, without success. I will follow your advice, hoping for a future update 🙂
Simply changing the extension wouldn’t work, because the plugin expects a very specific structure. Example:
[
{
"lat": "37.9839412",
"lng": "23.7283052",
"text": "<p>Athens, Municipality of Athens, Regional Unit of Central Athens, Attica, 104 31, Greece</p>",
"id": 1673647730152
},
{
"lat": "40.7127281",
"lng": "-74.0060152",
"text": "<p>New York, United States</p>",
"id": 1673647735921
},
{
"lat": "41.3828939",
"lng": "2.1774322",
"text": "<p>Barcelona, Barcelonès, Barcelona, Catalonia, 08001, Spain</p>",
"id": 1673647741383
},
{
"lat": "51.5073219",
"lng": "-0.1276474",
"text": "<p>London, Greater London, England, United Kingdom</p>",
"id": 1673647744636
}
]So, you ‘d have to go for example to ChatGPT, give it the contents of the
.geojsonand ask it to convert it to the specific format. Then, save the contents as a.jsonfile and try to import. In theory, this should work.Yes, I saw the problem. ChatGpt doesn’t seem to work for files that are several MB in size.
New attempt, conversion done but no OSM OotB import.
Maybe the conversion is not correct, I continue the tests.import json
from pathlib import Pathgeojson_path = Path(“/mnt/data/carte_a75.geojson”)
with open(geojson_path, “r”, encoding=”utf-8″) as f:
geojson_data = json.load(f)donnees_extraites = [feature[“properties”] for feature in geojson_data.get(“features”, [])]
output_path = Path(“/mnt/data/carte.json”)
with open(output_path, “w”, encoding=”utf-8″) as f:
json.dump(donnees_extraites, f, indent=2, ensure_ascii=False)output_path.name
The topic ‘WordPress 6.8’ is closed to new replies.