Skip to content
Permalink
Browse files
Bug fixes: click to select fixes for ticket #1154. Fix for topologica…
…l editing. API cleanups and updates.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9470 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Oct 10, 2008
1 parent abe249d commit 381cab7b0245813d60ff8c14fe85346fe4f83423
Showing with 3 additions and 3 deletions.
  1. +2 −2 tools/mapserver_export/ms_export.py
  2. +1 −1 tools/mapserver_export/qgsmapserverexport.cpp
@@ -160,7 +160,7 @@ def writeProjectionSection(self):
# the project file doesn't contain the epsg id or proj4 text for
# the map apart from that defined in each layer

self.outFile.write(" PROJECTION\n")
self.outFile.write(" CRS\n")

# Get the proj4 text from the first map layer's destination SRS
destsrs = self.qgs.getElementsByTagName("destinationsrs")[0]
@@ -353,7 +353,7 @@ def writeMapLayers(self):
float(lyr.getElementsByTagName("transparencyLevelInt")[0].childNodes[0].nodeValue.encode('utf-8')) / 255.0 )
self.outFile.write(" TRANSPARENCY " + str(opacity) + "\n")

self.outFile.write(" PROJECTION\n")
self.outFile.write(" CRS\n")
# Get the destination srs for this layer and use it to create
# the projection section
destsrs = self.qgs.getElementsByTagName("destinationsrs")[0]
@@ -238,7 +238,7 @@ void QgsMapserverExport::writeMapFile()
if (!mapFile.fail())
{
// XXX So, what encoding should we use here???
mapFile << "# Map file generated by QGIS version " << QGis::qgisVersion << std::endl;
mapFile << "# Map file generated by QGIS version " << QGis::QGIS_VERSION << std::endl;
mapFile << "# Edit this file to customize for your interface" << std::endl;
mapFile << "# Not all sections are complete. See comments for details." << std::endl;
if (!chkExpLayersOnly->isChecked())

0 comments on commit 381cab7

Please sign in to comment.