Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix loading 2.x projects with custom CRS
Fixes #17257
- Loading branch information
1 parent
e967881
commit f2b5a59
Showing
3 changed files
with
173 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'> | ||
<qgis projectname="" version="2.18.9"> | ||
<title></title> | ||
<autotransaction active="0"/> | ||
<evaluateDefaultValues active="0"/> | ||
<layer-tree-group expanded="1" checked="Qt::Checked" name=""> | ||
<customproperties/> | ||
</layer-tree-group> | ||
<relations/> | ||
<mapcanvas> | ||
<units>meters</units> | ||
<extent> | ||
<xmin>-1579730.21282207453623414</xmin> | ||
<ymin>-4271174.32985332515090704</ymin> | ||
<xmax>-1242009.40286419028416276</xmax> | ||
<ymax>-4054770.71263487357646227</ymax> | ||
</extent> | ||
<rotation>0</rotation> | ||
<projections>1</projections> | ||
<destinationsrs> | ||
<spatialrefsys> | ||
<proj4>+proj=ortho +lat_0=42.1 +lon_0=12.8 +x_0=0 +y_0=0 +a=6371000 +b=6371000 +units=m +no_defs</proj4> | ||
<srsid>100001</srsid> | ||
<srid>0</srid> | ||
<authid>USER:100001</authid> | ||
<description>new CRS</description> | ||
<projectionacronym>ortho</projectionacronym> | ||
<ellipsoidacronym></ellipsoidacronym> | ||
<geographicflag>false</geographicflag> | ||
</spatialrefsys> | ||
</destinationsrs> | ||
<rendermaptile>0</rendermaptile> | ||
<layer_coordinate_transform_info/> | ||
</mapcanvas> | ||
<layer-tree-canvas> | ||
<custom-order enabled="0"/> | ||
</layer-tree-canvas> | ||
<legend updateDrawingOrder="true"/> | ||
<projectlayers/> | ||
<properties> | ||
<WMSContactPerson type="QString"></WMSContactPerson> | ||
<Variables> | ||
<variableNames type="QStringList"/> | ||
<variableValues type="QStringList"/> | ||
</Variables> | ||
<WMSOnlineResource type="QString"></WMSOnlineResource> | ||
<WMSUseLayerIDs type="bool">false</WMSUseLayerIDs> | ||
<WMSContactOrganization type="QString"></WMSContactOrganization> | ||
<WMSKeywordList type="QStringList"> | ||
<value></value> | ||
</WMSKeywordList> | ||
<WFSUrl type="QString"></WFSUrl> | ||
<Paths> | ||
<Absolute type="bool">false</Absolute> | ||
</Paths> | ||
<WMSServiceTitle type="QString"></WMSServiceTitle> | ||
<WFSLayers type="QStringList"/> | ||
<WMSContactMail type="QString"></WMSContactMail> | ||
<PositionPrecision> | ||
<DecimalPlaces type="int">2</DecimalPlaces> | ||
<Automatic type="bool">true</Automatic> | ||
<DegreeFormat type="QString">MU</DegreeFormat> | ||
</PositionPrecision> | ||
<WCSUrl type="QString"></WCSUrl> | ||
<WMSContactPhone type="QString"></WMSContactPhone> | ||
<WMSServiceCapabilities type="bool">false</WMSServiceCapabilities> | ||
<WMSServiceAbstract type="QString"></WMSServiceAbstract> | ||
<WMSContactPosition type="QString"></WMSContactPosition> | ||
<WMSAddWktGeometry type="bool">false</WMSAddWktGeometry> | ||
<Measure> | ||
<Ellipsoid type="QString">NONE</Ellipsoid> | ||
</Measure> | ||
<WMSPrecision type="QString">8</WMSPrecision> | ||
<WMSSegmentizeFeatureInfoGeometry type="bool">false</WMSSegmentizeFeatureInfoGeometry> | ||
<WFSTLayers> | ||
<Insert type="QStringList"/> | ||
<Update type="QStringList"/> | ||
<Delete type="QStringList"/> | ||
</WFSTLayers> | ||
<Gui> | ||
<SelectionColorBluePart type="int">0</SelectionColorBluePart> | ||
<CanvasColorGreenPart type="int">255</CanvasColorGreenPart> | ||
<CanvasColorRedPart type="int">255</CanvasColorRedPart> | ||
<SelectionColorRedPart type="int">255</SelectionColorRedPart> | ||
<SelectionColorAlphaPart type="int">255</SelectionColorAlphaPart> | ||
<SelectionColorGreenPart type="int">255</SelectionColorGreenPart> | ||
<CanvasColorBluePart type="int">255</CanvasColorBluePart> | ||
</Gui> | ||
<Digitizing> | ||
<DefaultSnapToleranceUnit type="int">2</DefaultSnapToleranceUnit> | ||
<SnappingMode type="QString">current_layer</SnappingMode> | ||
<DefaultSnapType type="QString">off</DefaultSnapType> | ||
<DefaultSnapTolerance type="double">0</DefaultSnapTolerance> | ||
</Digitizing> | ||
<Identify> | ||
<disabledLayers type="QStringList"/> | ||
</Identify> | ||
<Macros> | ||
<pythonCode type="QString"></pythonCode> | ||
</Macros> | ||
<WMSAccessConstraints type="QString">None</WMSAccessConstraints> | ||
<WCSLayers type="QStringList"/> | ||
<Legend> | ||
<filterByMap type="bool">false</filterByMap> | ||
</Legend> | ||
<SpatialRefSys> | ||
<ProjectCRSProj4String type="QString">+proj=ortho +lat_0=42.1 +lon_0=12.8 +x_0=0 +y_0=0 +a=6371000 +b=6371000 +units=m +no_defs</ProjectCRSProj4String> | ||
<ProjectCrs type="QString">USER:100001</ProjectCrs> | ||
<ProjectCRSID type="int">100001</ProjectCRSID> | ||
<ProjectionsEnabled type="int">1</ProjectionsEnabled> | ||
</SpatialRefSys> | ||
<DefaultStyles> | ||
<Fill type="QString"></Fill> | ||
<Line type="QString"></Line> | ||
<Marker type="QString"></Marker> | ||
<RandomColors type="bool">true</RandomColors> | ||
<AlphaInt type="int">255</AlphaInt> | ||
<ColorRamp type="QString"></ColorRamp> | ||
</DefaultStyles> | ||
<WMSFees type="QString">conditions unknown</WMSFees> | ||
<WMSImageQuality type="int">90</WMSImageQuality> | ||
<Measurement> | ||
<DistanceUnits type="QString">meters</DistanceUnits> | ||
<AreaUnits type="QString">m2</AreaUnits> | ||
</Measurement> | ||
<WMSUrl type="QString"></WMSUrl> | ||
</properties> | ||
<visibility-presets/> | ||
</qgis> |