Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 381cab7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tools/mapserver_export/ms_export.py
Expand Up @@ -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]
Expand Down Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion tools/mapserver_export/qgsmapserverexport.cpp
Expand Up @@ -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())
Expand Down

0 comments on commit 381cab7

Please sign in to comment.