Hello everybody,

I'm trying to display a map generated from openstreetmaps and saved as several shapefile layers. The map was obtained from: http://download.geofabrik.de/osm/europe/
The shapefile "roads.shp" has a data type of "LINESTRING":

[r...@alarms romania-osm-shp]# ogrinfo -al roads.shp | head -30
INFO: Open of `roads.shp'
     using driver `ESRI Shapefile' successful.

Layer name: roads
Geometry: Line String
Feature Count: 51469
Extent: (20.379788, 43.653826) - (29.712869, 48.221387)
Layer SRS WKT:
GEOGCS["GCS_WGS_1984",
   DATUM["WGS_1984",
       SPHEROID["WGS_1984",6378137,298.257223563]],
   PRIMEM["Greenwich",0],
   UNIT["Degree",0.017453292519943295]]
osm_id: Real (16.0)
name: String (32.0)
type: String (16.0)
oneway: Integer (1.0)
OGRFeature(roads):0
 osm_id (Real) =             1349
 name (String) = Bulevardul Mircea Eliade
 type (String) = tertiary
 oneway (Integer) = 0
LINESTRING (26.093111799999999 44.469673499999999,26.093683899999998 44.469124899999997,26.094064299999999 44.468571799999999,26.0961094 44.465648600000002)

I've tried creating the MAP file with a layer type of LINE/LINESTRING/POLYGON, but the map would not display the layer (however mapserver would generate an image).

My version of mapserver is 4.10.3 (fedora core 8).

My question is: can I display this data type directly with mapserver, or do I need to convert it to something else? Is my version of mapserver too old to display this data?

Thanks.

Adrian

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to