• Resolved web1media

    (@web1media)


    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?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Giorgos Sarigiannidis

    (@gsarig)

    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.

    Plugin Author Giorgos Sarigiannidis

    (@gsarig)

    Hi again. This should be fixed with the latest update (2.8.7).

    Can you please check to confirm?

    Thanks!

    Thread Starter web1media

    (@web1media)

    It’s working again, thank you very much 🙏

    Plugin Author Giorgos Sarigiannidis

    (@gsarig)

    Great! Than’s again for flagging the issue!

    Thread Starter web1media

    (@web1media)

    Hello,
    Question of the day: is an import of .geojson files planned or possible? Thank you for your attention and have a nice day.

    Plugin Author Giorgos Sarigiannidis

    (@gsarig)

    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 .json file (see here). The expected format is different, though, so if you have the data in .geojson you 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 .geojson format.

    Thread Starter web1media

    (@web1media)

    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 🙂

    Plugin Author Giorgos Sarigiannidis

    (@gsarig)

    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 .geojson and ask it to convert it to the specific format. Then, save the contents as a .json file and try to import. In theory, this should work.

    Thread Starter web1media

    (@web1media)

    Yes, I saw the problem. ChatGpt doesn’t seem to work for files that are several MB in size.

    Thread Starter web1media

    (@web1media)

    New attempt, conversion done but no OSM OotB import.
    Maybe the conversion is not correct, I continue the tests.

    import json
    from pathlib import Path

    geojson_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

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘WordPress 6.8’ is closed to new replies.