Can't get OpenStreetMap in RS 9.5?

103 views
Skip to first unread message

Sandy Buchanan

unread,
Apr 24, 2021, 11:11:44 AM4/24/21
to ResourceSpace

I’m having problems implementing the mapping display in RS 9.5. The geographic search works fine as does the add location function.

The problem is that then mapping data from OpenStreetMaps is not displayed. I see a generic world map to start the Geographic Search or a zoomed blank with a marker and question marks where the tiles should be (See attached images)

Below is the extract from the config.php file we are using on RS 9.5 , Is it not configured properly or are we missing something?

I was wondering if we need some extra access or authorisation to OpenStreetMaps but we gat access through RS 9.0 but not 9.5?

I would be grateful for any assistance anyone can give

#### Config Maps 

$geo_tile_servers = array();

$geo_tile_servers[] = 'https://a.tile.openstreetmap.org/${z}/${x}/${y}.png';

$geo_tile_servers[] = 'https://b.tile.openstreetmap.org/${z}/${x}/${y}.png';

$geo_tile_servers[] = 'https://c.tile.openstreetmap.org/${z}/${x}/${y}.png';

$geo_layers="osm";

$geo_tile_caching=true;

#$geo_tile_cache_lifetime = 60*60*24*365;

$geo_locate_collection = true;

$geolocation_default_bounds="-353995.98072261,7549064.96916336,11";

zoom_in .jpg
LocDat_RS90.jpg
Geo_Search.jpg

Terry Harris (CambsNews)

unread,
Nov 11, 2022, 10:25:50 AM11/11/22
to ResourceSpace
Hi Do you have an example of your config data - no matter what changes I make in config.php i can never get OSM to be the default (V10)

Thanks

Terry Harris (CambsNews)

unread,
Nov 26, 2022, 7:19:11 AM11/26/22
to ResourceSpace
Thanks Sandy - I've added that verbatim with no other map settings and I get the US topology and National MAP. I've changed the default map type to Mapnik and I get no tiles. None of the maps zoom in close to show road etc I was just hoping that someone had a working config that showed UK maps and street using openstreetmap. I guess I'll keep pluggin on changing settings. 

PS I had to remove the a. b. and c. from your urls to see the tiles in a  browser

Reply all
Reply to author
Forward
0 new messages