0

I have followed RenderingOsmDataUbuntu 10.10 and set up Google styled web map using mapserver. The osm-google.map seems to be not using table osm_new_buildings. Also no POI (Point of interest) data is seems to be imported from the OSM file. How can I add both?

  • 1
    I guess most people use the official mapnik based rendering stack (switch2osm.org) to create OSM webmaps. If possible, it might be worth to use this one instead, as you can get more support. Also you might ask at help.osm.org as the focus there is OSM – Mapper Feb 11 '14 at 8:46
  • Hmm.. But I am already editing/updating the POSTGIS tables (imported using IMPOSM) with additional data(where it is missed in OSM) – mapsir Feb 11 '14 at 8:51
  • Have you considered adding the missing data to OSM itself? Also, be aware that if you are altering the existing OSM data you must make it available under the ODbL. – Homme Zwaagstra Feb 11 '14 at 9:25
  • @HommeZwaagstra Actually I am adding some information which are not useful for public, like some custom points(with order numbers), some road buffers as geofence, polygons as private route identifiers and some private vehicle stops(as polygonal area). These features may not be useful for others and virtually damage the quality if I uploaded the same. My main aim is to retain the map drawn using a google style. Please share your thought. – mapsir Feb 11 '14 at 11:20
  • @mapsir I can see why you may not want to add some of this data to OSM. Regarding the licencing issues you may want to discuss your use case on the legal-talk mailing list and investigate the Open Data License wiki page. – Homme Zwaagstra Feb 11 '14 at 11:47
1

The "google" style does not render buildings by default, you can add it by editing generate_style.py and setting display_buildings to 1 in the google variable (https://github.com/mapserver/basemaps/blob/master/generate_style.py#L1122).

For pois, there are none added by default aside from place names, you'll have to add them yourself to the mapfiles (adding a layer in places.map very similar to the "places" layer is the way to go).

  • But, I can't see any tables with POI/Point data in the ImpOSM extracted DB. – mapsir Feb 11 '14 at 12:40
  • 1
    there are a few in the amenities table. you'll have to create your own poi table with the categories you need if you want more, have a look at bitbucket.org/stvn/imposm/src/… for a few ideas – Thomas Bonfort Feb 11 '14 at 12:49
  • Can I import the whole POI data from .osm into a new table in the same DB. Because the amenities table doesn't seems to have the whole POIs. If yes, how? Using ImpOSM/osm2pgsql? & Will that affect the existing DB? – mapsir Feb 12 '14 at 4:21
  • Is it possible to render POIs/landmarks using google Map like icons? Any readily available icon sets? – mapsir Feb 17 '14 at 12:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.