Hello all:

Somebody pointed me out that the prj file served by WFS request on geoserver 
does not have the units well defined.
The problem can be seen in arcgis, versions 9.x and 10.x.
The scale is not enabled and does not show up the denominator of the scale.
[cid:[email protected]]

Scale tool disabled due to wrong prj definition file.
[cid:[email protected]]



PRJ from Geoserver:
PROJCS["NAD83 / Puerto Rico & Virgin Is.",
GEOGCS["NAD83",
DATUM["North American Datum 1983",
SPHEROID["GRS 1980", 6378137.0, 298.257222101, AUTHORITY["EPSG","7019"]],
TOWGS84[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
AUTHORITY["EPSG","6269"]],
PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
UNIT["degree", 0.017453292519943295],
AXIS["Geodetic latitude", NORTH],
AXIS["Geodetic longitude", EAST],
AUTHORITY["EPSG","4269"]],
PROJECTION["Lambert_Conformal_Conic_2SP", AUTHORITY["EPSG","9802"]],
PARAMETER["central_meridian", -66.43333333333334],
PARAMETER["latitude_of_origin", 17.833333333333332],
PARAMETER["standard_parallel_1", 18.433333333333334],
PARAMETER["false_easting", 200000.0],
PARAMETER["false_northing", 200000.0],
PARAMETER["scale_factor", 1.0],
PARAMETER["standard_parallel_2", 18.033333333333335],
UNIT["m", 1.0],
AXIS["Easting", EAST],
AXIS["Northing", NORTH],
AUTHORITY["EPSG","32161"]]


PRJ File from arcgis:
PROJCS["NAD83_Puerto_Rico_Virgin_Is",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["standard_parallel_1",18.43333333333333],PARAMETER["standard_parallel_2",18.03333333333334],PARAMETER["latitude_of_origin",17.83333333333333],PARAMETER["central_meridian",-66.43333333333334],PARAMETER["false_easting",200000],PARAMETER["false_northing",200000],UNIT["Meter",1]]

Is there a way to redefine this?

Where should I look it for?

Thanks in advance.
---------------------------
Iván Santiago
GIS Specialist
Information Technologies
Office of Management and 
Budget<https://mail.ogp.gobierno.pr/exchweb/bin/redir.asp?URL=https://mail.ogp.gobierno.pr/exchweb/bin/redir.asp?URL=http://www.ogp.gobierno.pr/>
787.725.9420 x 2378
Calle Cruz 254
PO Box 9023228
San Juan, PR 00902-3228

From: Edward Judge [mailto:[email protected]]
Sent: Friday, April 19, 2013 8:42 AM
To: Christian Mueller
Cc: [email protected]
Subject: Re: [Geoserver-users] Server Status -> Oops, something went wrong...

Thanks Ben, Andrea and Christian.  "Server status" now works fine.


Edward Judge

Software Engineer
IBM Software Group, Information Management
INZA SW Development
________________________________


Phone:

508-382-4166

 IBM Marlborough

[cid:[email protected]]

E-Mail:

[email protected]

 Marlborough, MA 01752


 USA



________________________________








From:        Christian Mueller <[email protected]>
To:        Andrea Aime <[email protected]>,
Cc:        Ben Caradoc-Davies <[email protected]>, Edward 
Judge/Marlborough/IBM@IBMUS, "[email protected]" 
<[email protected]>
Date:        04/19/2013 05:20 AM
Subject:        Re: [Geoserver-users] Server Status -> Oops, something went 
wrong...
________________________________



Yep indeed, I am using IBM SDK on Linux Intel, Linux on power , AIX and Linux 
for zSeries. I did some quick tests on the master branch with jetty and tomcat 
6 using

java version "1.6.0"
Java(TM) SE Runtime Environment (build pxa6460sr9fp2-20110625_01(SR9 FP2))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 
jvmxa6460sr9-20110624_85526 (JIT enabled, AOT enabled)
J9VM - 20110624_085526
JIT  - r9_20101028_17488ifx17
GC   - 20101027_AA)
JCL  - 20110530_01

No stacktrace, cannot reproduce the problem. Tomcat runs without 
-Djava.awt.headless=true.

Can you start your tomcat with -Djava.awt.headless=true as proposed by Andrea ?

Cheers
Christian




2013/4/19 Andrea Aime 
<[email protected]<mailto:[email protected]>>
On Fri, Apr 19, 2013 at 5:56 AM, Ben Caradoc-Davies 
<[email protected]<mailto:[email protected]>> wrote:
Edward.

the IBM J9 VM is not a supported VM; looks like it is missing some
implementation classes including sun.awt.X11GraphicsEnvironment. Please
try using Oracle Java 6 (JRE or JDK should work), which is the reference
platform for GeoServer. Unit, integration, and release testing is
performed against Oracle Java 6:
http://docs.geoserver.org/stable/en/user/installation/war.html#java
http://docs.geoserver.org/stable/en/user/production/java.html#production-java


All true, although I believe Christian (a GS developer) is a heavy user of the 
IBM VM.
Given the particular error though, it might be solved if you pass to the JVM
the following parameter:

-Djava.awt.headless=true

Cheers
Andrea

--
==
GeoServer training in Milan, 6th & 7th June 2013!  Visit 
http://geoserver.geo-solutions.it<http://geoserver.geo-solutions.it/> for more 
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313<tel:%2B39%200584%20962313>
fax: +39 0584 1660272<tel:%2B39%200584%201660272>
mob: +39  339 8844549<tel:%2B39%20%C2%A0339%208844549>

http://www.geo-solutions.it<http://www.geo-solutions.it/>
http://twitter.com/geosolutions_it

-------------------------------------------------------



--
DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

<<inline: image001.gif>>

<<inline: image002.png>>

<<inline: image003.png>>

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to