[mapserver-users] OSM data rendering using Mapserver

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Thu Oct 29 08:30:46 EDT 2009


 Hi

Ali_ wrote:

> 2) The osm_line and osm_road table have not been assigned the 
> primary key while conversion using osm2pgsql and where we 
> query in the map file we use USING UNIQUE osm_id which may be 
> incompatible and may be make is unable to give the result.

At least the osm2pgsql version I am using is creating dublicate osm_ids
on these layers because relations which are converted to lines are
getting the osm_id of a relation and there can also be same osm_id used
by an OSM line feature. Mapfile works still even it if USING UNIQUE
refers to a non unique field.

-Jukka Rahkonen-


More information about the mapserver-users mailing list