java mapscript, method pointObj.project

Ludovico Bianchini metlud at YAHOO.IT
Tue Sep 4 09:24:57 EDT 2007


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



More information about the mapserver-users mailing list