Re: [Geotools-gt2-users] Geotools and google Mercator

2008-04-07 Thread Dennis Yavorsky
Actually google maps are cut on +-85.0511287798066 degrees of latitude. countries900913.png looks accurate like Google. I used same WKT as I found in geoserver's help (http://localhost:8080/geoserver/srsHelp.do) But StreamingRenderer does not seem to render in '900913' google projection . My imag

Re: [Geotools-gt2-users] Geotools and google Mercator

2008-04-07 Thread Andrea Aime
Dennis Yavorsky ha scritto: > Actually google maps are cut on +-85.0511287798066 degrees of latitude. > countries900913.png looks accurate like Google. > I used same WKT as I found in geoserver's help > (http://localhost:8080/geoserver/srsHelp.do) > But StreamingRenderer does not seem to render in

Re: [Geotools-gt2-users] Geotools and google Mercator

2008-04-07 Thread Dennis Yavorsky
When I this on all my feature sources: featureSource.getSchema().getDefaultGeometry().getCoordinateSystem() equals to null. According things you say this looks like root of my problems. How can I change this? I think(but I am not sure if you can help - it would be great) I can find how to make fe

Re: [Geotools-gt2-users] Geotools and google Mercator

2008-04-07 Thread Andrea Aime
Dennis Yavorsky ha scritto: > When I this on all my feature sources: > featureSource.getSchema().getDefaultGeometry().getCoordinateSystem() > equals to null. > According things you say this looks like root of my problems. > How can I change this? > I think(but I am not sure if you can help - it wo

Re: [Geotools-gt2-users] Geotools and google Mercator

2008-04-07 Thread Dennis Yavorsky
I have 2 data sources: mp (polish format) and mid-mif ported to shapefile by arcgis plugin (actually it is shapefiles without *.prj files). Ok, now I know what to do. Thank you very much. If I reach success I'll let you know. Andrea Aime wrote: > > The feature source should be true to the actual

[Geotools-gt2-users] MultiAttributeType and GML

2008-04-07 Thread Thomas Bauer
Hi all, i have to parse gml files whitch have more then one elements of the same type (maxOccurs="unbounded"). For examble: 0 0

Re: [Geotools-gt2-users] MultiAttributeType and GML

2008-04-07 Thread Andrea Aime
Thomas Bauer ha scritto: > Hi all, > > i have to parse gml files whitch have more then one elements of the same > type (maxOccurs="unbounded"). > > For examble: > > > > > > > 0 >

Re: [Geotools-gt2-users] Geotools and google Mercator

2008-04-07 Thread Dennis Yavorsky
I've tried to give 4326( GEOGCS["WGS 84", DATUM["World Geodetic System 1984", SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]], AUTHORITY["EPSG","6326"]], PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]], UNIT["degree", 0.017453292519943295], AXIS["Geo

[Geotools-gt2-users] problems using GMLDataStore

2008-04-07 Thread Thomas Bauer
Hi all, i try to read data from gml files using GMLDataStore (2.5.M0). There are troubles in org.geotools.xml.gml.GMLComplexTypes.java (class CoordType - Method getValue) for (int i = 0; i < value.length; i++) { if (elements[0].getName().equals(value[i].getElement().ge

Re: [Geotools-gt2-users] MultiAttributeType and GML

2008-04-07 Thread Justin Deoliveira
> On geotools 2.4.x I'm sure it's not possible. > On trunk things are slowly moving to support complex features, but > I believe we're still not capable of parsing that xml either... > Justin, cc'ed, may know better. Andrea is correct. While it is true that on trunk we have the feature model to

Re: [Geotools-gt2-users] Geotools and google Mercator

2008-04-07 Thread Jody Garnett
Next step is probably to set up a bug report with a JUnit test showing what the answer should be; it may be something simple (do you coordinates match the axis order for your origional projection - that is one I often get wrong). Jody > Yes, I can confirm that in geotools 2.4.1 Mercator1SPGoogle

Re: [Geotools-gt2-users] [Geotools-devel] How to put datas into a GridCoverage2D

2008-04-07 Thread Martin Desruisseaux
Anaxa Gore a écrit : > I am using this code this code for reprojecting : > > GeoTiffReader reader = new GeoTiffReader(geotiffFiles[i], new > Hints(Hints.FORCE_LONGITUDE_FIRST_AXIS_ORDER, Boolean.TRUE)); > GridCoverage2D temp = (GridCoverage2D)reader.read(null); > > try{ > temp