[Geoserver-users] Alignment problems with ESRI software

Hello,

There is the international inch (25.4 mm) and the US Survey Inch (25.4000508
mm), which one is Geoserver actually internally considering an inch?

Our current scales that work correctly with the ESRI JavaScript API are
based on the US survey inch, whereas the scales that work correctly with
ArcMap are based on the international inch.

Puzzled.

Christian

-----
____________________________

Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002

Telephone: +61-3-8636 2325
Telefax: +61-3-8636 2813
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Alignment-problems-with-ESRI-software-tp5075124.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

You could check the JSR javadocs to see which one is in use, or the source code.

Let me check: http://jscience.org/jsr-275/api/javax/measure/unit/NonSI.html#INCH

public static final [Unit](http://jscience.org/jsr-275/api/javax/measure/unit/Unit.html)<[Length](http://jscience.org/jsr-275/api/javax/measure/quantity/Length.html)> **INCH**
A unit of length equal to `0.0254 m` (standard name `in`).

Still if you need to define more units you can, does the WKT or EPSG provide an EPSG code for the different units so we can tell them apart?

–
Jody Garnett

On Friday, 30 August 2013 at 1:23 PM, cmaul wrote:

Hello,

There is the international inch (25.4 mm) and the US Survey Inch (25.4000508
mm), which one is Geoserver actually internally considering an inch?

Our current scales that work correctly with the ESRI JavaScript API are
based on the US survey inch, whereas the scales that work correctly with
ArcMap are based on the international inch.

Puzzled.

Christian



Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002

Telephone: +61-3-8636 2325
Telefax: +61-3-8636 2813

View this message in context: http://osgeo-org.1560.x6.nabble.com/Alignment-problems-with-ESRI-software-tp5075124.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


Learn the latest–Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@anonymised.comrceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Thanks Jody,

but it still could be either, because this class has both units:

static Unit<Length> FOOT_SURVEY_US A unit of length equal to
1200/3937 m (standard name foot_survey_us).

and

static Unit<Length> INCH A unit of length equal to 0.0254 m
(standard name in).

O.k. that means trawling through the sources. At least I know now, what to
look for.

Cheers

Christian

-----
____________________________

Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002

Telephone: +61-3-8636 2325
Telefax: +61-3-8636 2813
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Alignment-problems-with-ESRI-software-tp5075124p5075131.html
Sent from the GeoServer - User mailing list archive at Nabble.com.