java mapscript, method pointObj.project

Oliver Wesp wesp at GDV.COM
Tue Sep 4 07:11:30 PDT 2007


Hi Ludovico,

this means that you're using a projection that's not defined in your 
epsg file.

http://mapserver.gis.umn.edu/docs/error/proj-init-file

best regards,
Oliver

Ludovico Bianchini schrieb:
> Hi,
> I'm obtaining this
> 
> Exception occurred during event dispatching:
> java.lang.UnknownError: msProcessProjection():
> Projection library error. no options found in 'init'
> file
>         at
> edu.umn.gis.mapscript.mapscriptJNI.new_projectionObj(Native
> Method)
>         at
> edu.umn.gis.mapscript.projectionObj.<init>(projectionObj.java:41)
> 
> with this line of code:
> 
> point.project(new projectionObj("init=EPSG:4326"), new
> projectionObj("init=EPSG:3003"));
> 
> while with this
> 
> point.project(new projectionObj("init=EPSG:4326"), new
> projectionObj("init=EPSG:26591"));
> 
> there is no error.
> 
> Point is initialized with (37.13953463591601
> 45.66405322544534), a decimal degrees lon-lat value.
> 
> Has anybody solved this or a similar problem?
> 
> Thanks in advance for any help!!
> 
> Ludovico
> 
> 
>       ___________________________________ 
> L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html
> 
> 
> 

-- 
Dipl.-Geogr. Oliver Wesp
GDV Gesellschaft für geografische Datenverarbeitung mbH
Binger Str. 49-51
55218 Ingelheim am Rhein
Germany
Fon 049(0)6132-7148-18
Fax 049(0)6132-7148-28
www.gdv.com
Sitz der Gesellschaft: Ingelheim
Amtsgericht Mainz HRB 23123
Gerichtsstand Mainz
Geschäftsführer: Thomas Riehl, Dirk Hübener



More information about the MapServer-users mailing list