Cannot geotag posts

This topic contains 1 reply, has 2 voices, and was last updated by  admin01 2 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #65096 Reply

    Nils

    Hi

    I am trying to create a map of all posts with geotags, but it seems that I cannot geotag any post. When settin a geotag with the tool on the edit page, I get a “Saved, you can now use the geotag” message, but when actually creating the map with this code:

    [osm_info]
    [osm_map_v3 map_center="23.4177,-4.7443" zoom="2" width="100%" height="450" tagged_type="post" marker_name="mic_black_pinother_02.png" map_border="thin solid grey" tagged_color="black"]

    this is the output:

    OpenStreetMap Plugin V4.1.1
    published posts: 83
    geo tagged:000; DB request took: 00:00:00.986
    published pages: 1
    geo tagged:000; DB request took: 00:00:00.028

    [OSM-Plugin-Error]:[OL3_createMarkerList]: No posts/pages with geotag found!

    [OSM-Plugin-Error]:CustomField: 0

    [OSM-Plugin-Error]:PostType: post

    [OSM-Plugin-Error]:Tagged_Filter: osm_all

    Should this CustomField be set to some sensible value? In the custom fiel list there was also no OSM_geo_data fiel available, I created one just to try it out, but it did not help…

    #65106 Reply

    admin01
    Keymaster

    Hi Nils,

    looks like setting the geotag does not work. Try to create a customfield at the post manually:
    Name:OSM_geo_data
    Value: 51.2508,7.0542

    And do [osm_info] again.
    Br, MiKa

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Cannot geotag posts
Your information:




1 + 8 =