Hi everyone,
I am using GeoTools to bring to make a H2 spatial and Postgres/PLJAVA
support referencing.
Currently I am using HSQLDB plugin with the defined EPSG tables. In the
past I used PostgreSQL plugin with similar results too.
The table epsg_coordinatereferencesystem has more than 4000 different
SRIDs. When I try to retrieve the wkt text from the srid with the
function CRS.decode:
sourceCRS = CRS.decode("EPSG:" + srid);
String res = sourceCRS.toWKT();
I found out that more that 200 srids do not work.
The table below shows:
There are 111 different srids which produce the error
"org.geotools.referencing.wkt.UnformattableObjectException: This
"GeographicCRS" object is too complex for WKT syntax.". One example is
the srid = 3823
....
This is normal behaviour?
I mean GeoTools does not implement all the SRIDs defined in the EPSG
tables (plugins).?
Thanx a lot,
Jose Carlos
select srtext,count(*) as num,min(srid) as examplesrid from
spatial_ref_sys where srtext like 'org%' group by srtext order by num desc;
SRTEXT
NUM
EXAMPLESRID
org.geotools.referencing.wkt.UnformattableObjectException: This
"GeographicCRS" object is too complex for WKT syntax.
111
3823
org.opengis.referencing.FactoryException: Unit conversion from "DMS" to
"°" is non-linear.
40
2036
org.geotools.referencing.wkt.UnformattableObjectException: This
"AxisDirection" object is too complex for WKT syntax.
21
3031
org.opengis.referencing.NoSuchIdentifierException: No transform for
classification "Cassini-Soldner".
20
2066
org.opengis.referencing.NoSuchIdentifierException: No transform for
classification "Lambert Conic Conformal (West Orientated)".
19
2218
org.opengis.referencing.FactoryException: Can't set a value to the
parameter "Scale factor at natural origin".
4
3143
org.opengis.referencing.NoSuchIdentifierException: No transform for
classification "Equidistant Cylindrical (Spherical)".
3
3786
org.geotools.referencing.wkt.UnformattableObjectException: This
"CoordinateReferenceSystem" object is too complex for WKT syntax.
2
5804
org.opengis.referencing.FactoryException: Unsupported unit: 9120
2
63266412
org.opengis.referencing.NoSuchIdentifierException: No transform for
classification "Transverse Mercator Zoned Grid System".
2
32600
org.opengis.referencing.FactoryException: Unsupported unit: 9119
2
63266410
org.opengis.referencing.NoSuchIdentifierException: No transform for
classification "American Polyconic".
2
29100
org.opengis.referencing.NoSuchIdentifierException: No transform for
classification "Geographic/topocentric conversions".
2
5819
org.opengis.referencing.FactoryException: Unsupported unit: 9118
2
63266409
org.opengis.referencing.FactoryException: Unsupported unit: 9115
2
63266408
org.opengis.referencing.FactoryException: Unsupported unit: 9117
2
63266407
org.opengis.referencing.FactoryException: Unsupported unit: 9116
2
63266406
org.opengis.referencing.NoSuchIdentifierException: No transform for
classification "Lambert Cylindrical Equal Area (Spherical)".
2
3410
org.opengis.referencing.NoSuchAuthorityCodeException: No code "4978"
from authority "European Petroleum Survey Group" found for object of
type "GeographicCRS".
1
5820
org.opengis.referencing.NoSuchIdentifierException: No transform for
classification "Modified Azimuthal Equidistant".
1
3295
org.opengis.referencing.NoSuchIdentifierException: No transform for
classification "Bonne (South Orientated)".
1
2963
org.opengis.referencing.NoSuchIdentifierException: No transform for
classification "Guam Projection".
1
3993
org.opengis.referencing.NoSuchIdentifierException: No transform for
classification "Laborde Madagascar".
1
29701
org.opengis.referencing.FactoryException: Elliptical projection not
supported.
1
32663
org.opengis.referencing.NoSuchIdentifierException: No transform for
classification "Mercator (1SP) (Spherical)".
1
3785
org.opengis.referencing.NoSuchIdentifierException: No transform for
classification "Lambert Conic Near-Conformal".
1
22700
org.opengis.referencing.NoSuchIdentifierException: Can't set a value to
the parameter "Latitude of 1st standard parallel".
1
4087
org.opengis.referencing.NoSuchIdentifierException: No transform for
classification "Hyperbolic Cassini-Soldner".
1
3139
org.opengis.referencing.NoSuchIdentifierException: Can't set a value to
the parameter "Longitude of origin".
1
2065
org.opengis.referencing.NoSuchIdentifierException: No transform for
classification "Tunisia Mining Grid".
1
22300
org.opengis.referencing.FactoryException: Unknow axis direction: "Along
receiver lines".
1
5818
--
------------------------------
José Carlos Martínez Llario
Producción Cartográfica y SIG.
Dpto. Ingeniería Cartográfica.
Univ. Politécnica de Valencia.
E-mail: [email protected]
Telf: 963877007 ext. 75599
------------------------------
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users