소스 검색

wxGUI/LocWiz: remove unneeded +ellps proj4string tag (#1550)

GRASS has private ellipse names which are not recognised by PROJ

Fixes #758
nilason 4 년 전
부모
커밋
6a8a025843
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      gui/wxpython/location_wizard/wizard.py

+ 0 - 3
gui/wxpython/location_wizard/wizard.py

@@ -2700,7 +2700,6 @@ class LocationWizard(wx.Object):
         else:
             datumdesc = ''
         datumparams = self.datumpage.datumparams
-        ellipse = self.ellipsepage.ellipse
         ellipsedesc = self.ellipsepage.ellipsedesc
         ellipseparams = self.ellipsepage.ellipseparams
 
@@ -2710,8 +2709,6 @@ class LocationWizard(wx.Object):
         proj4string = '%s %s' % (proj, proj4params)
 
         # set ellipsoid parameters
-        if ellipse != '':
-            proj4string = '%s +ellps=%s' % (proj4string, ellipse)
         for item in ellipseparams:
             if item[:4] == 'f=1/':
                 item = ' +rf=' + item[4:]