[QGIS-trac] [Quantum GIS] #2894: Mapserver export: mangles shapefile paths in mapfile (layerid=0)

Quantum GIS qgis at qgis.org
Mon Jul 19 11:10:05 EDT 2010


#2894: Mapserver export: mangles shapefile paths in mapfile (layerid=0)
------------------------------------------------+---------------------------
   Reporter:  strk                              |              Owner:  timlinux
       Type:  bug                               |             Status:  new     
   Priority:  major: does not work as expected  |          Milestone:          
  Component:  C++ Plugins                       |            Version:  Trunk   
   Keywords:                                    |   Platform_version:          
   Platform:  All                               |           Must_fix:  No      
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 When exporting a project file to mapserver's mapfile the paths to
 shapefiles (DATA "/path/...") gets written with a "|layerid=0" substring
 appended, making them all unresolvable to mapserver.

 The substring seems to be also in the project file itself, and works fine
 there (<datasource>) just needs to be split before writing to mapfile.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2894>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list