[Gfoss] errore datum...

Markus Neteler neteler a osgeo.org
Sab 7 Giu 2008 16:59:45 CEST


Il problema del datum riconoscimento in GRASS è stato risolto.
Di sotto la comunicazione di Paul Kelly (fix in
  http://trac.osgeo.org/grass/changeset/31652
)

ciao
Markus

On Sat, Jun 7, 2008 at 3:26 PM, Paul Kelly
<paul-grass a stjohnspoint.co.uk> wrote:
> On Fri, 30 May 2008, Markus Neteler wrote:
>
>> Hello Paul,
>>
>> a problem came up in the Italian list:
>>
>> g.proj -c epsg=23033 loc=llll
>> WARNING: Datum <unknown> not recognised by GRASS and no parameters found
>> Location llll created!
>
> This is now fixed in SVN trunk. It seems at some stage there were some
> changes to the way GDAL parsed PROJ.4 strings such as "+init=epsg:XXXX" - as
> far as I can see it now attempts to expand the string into a full PROJ.4
> string before doing a secondary conversion to a WKT-format co-ordinate
> system, and in the process the datum information is lost. I'm not sure what
> the logic for this change is, but anyway I've worked around it by changing
> g.proj to call OSRImportfromEPSG() directly when given the epsg= option.
> However a consequence of this is that the old-style
> g.proj -c proj4=init=epsg:XXXX location=newloc
> will no longer work properly; you must use
> g.proj -c epsg=XXXX location=newloc.
>
> Many thanks to Alfredo Alessandrini for the original bug report. If there
> are no issues I'll backport it to 6.4 later.
>
> Paul
>

2008/5/30 Markus Neteler <neteler a osgeo.org>:
> 2008/5/30 Alfredo Alessandrini <alfreale74 a gmail.com>:
>> salve,
>>
>> sto creando una LOCATION tramite il codice EPSG (23033), relativo alla
>> proiezione ED50 / UTM 33N.
>>
>> ma una volta scelto il codice, mi da il seguente errore:
>>
>> g.proj returned the followind informational message: WARNING: Datum
>> <unknown> not recognised by GRASS and no parameters found.
>>
>> secondo voi qualcosa non va nel file /usr/share/proj/epsg??
>
> Stiamo investigando... sono in grado di replicare il problema.
> Dovrebbe usare "European_Datum_1950" ma per qualche motivo
> fallisce con EPSG 23033.
>
> Markus
>



-- 
Open Source Geospatial Foundation
http://www.osgeo.org/
http://www.grassbook.org/



Maggiori informazioni sulla lista Gfoss