Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(4) |
Oct
(3) |
Nov
(23) |
Dec
(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(8) |
Feb
(11) |
Mar
(14) |
Apr
(21) |
May
(43) |
Jun
(25) |
Jul
(19) |
Aug
(23) |
Sep
(26) |
Oct
(27) |
Nov
(46) |
Dec
(13) |
2004 |
Jan
(34) |
Feb
(20) |
Mar
(17) |
Apr
(18) |
May
(58) |
Jun
(64) |
Jul
(86) |
Aug
(50) |
Sep
(67) |
Oct
(124) |
Nov
(83) |
Dec
(159) |
2005 |
Jan
(127) |
Feb
(127) |
Mar
(133) |
Apr
(113) |
May
(113) |
Jun
(176) |
Jul
(182) |
Aug
(156) |
Sep
(138) |
Oct
(182) |
Nov
(148) |
Dec
(130) |
2006 |
Jan
(156) |
Feb
(158) |
Mar
(170) |
Apr
(114) |
May
(145) |
Jun
(135) |
Jul
(85) |
Aug
(163) |
Sep
(170) |
Oct
(180) |
Nov
(167) |
Dec
(124) |
2007 |
Jan
(133) |
Feb
(200) |
Mar
(193) |
Apr
(237) |
May
(154) |
Jun
(140) |
Jul
(199) |
Aug
(331) |
Sep
(123) |
Oct
(95) |
Nov
(125) |
Dec
(194) |
2008 |
Jan
(162) |
Feb
(148) |
Mar
(143) |
Apr
(207) |
May
(207) |
Jun
(231) |
Jul
(225) |
Aug
(178) |
Sep
(141) |
Oct
(201) |
Nov
(146) |
Dec
(124) |
2009 |
Jan
(232) |
Feb
(264) |
Mar
(213) |
Apr
(215) |
May
(153) |
Jun
(244) |
Jul
(71) |
Aug
(124) |
Sep
(247) |
Oct
(278) |
Nov
(155) |
Dec
(178) |
2010 |
Jan
(203) |
Feb
(133) |
Mar
(338) |
Apr
(226) |
May
(386) |
Jun
(385) |
Jul
(146) |
Aug
(162) |
Sep
(172) |
Oct
(72) |
Nov
(69) |
Dec
(96) |
2011 |
Jan
(63) |
Feb
(112) |
Mar
(235) |
Apr
(198) |
May
(260) |
Jun
(239) |
Jul
(309) |
Aug
(186) |
Sep
(140) |
Oct
(174) |
Nov
(105) |
Dec
(41) |
2012 |
Jan
(68) |
Feb
(132) |
Mar
(89) |
Apr
(61) |
May
(113) |
Jun
(129) |
Jul
(62) |
Aug
(144) |
Sep
(94) |
Oct
(116) |
Nov
(151) |
Dec
(57) |
2013 |
Jan
(101) |
Feb
(144) |
Mar
(93) |
Apr
(75) |
May
(67) |
Jun
(52) |
Jul
(64) |
Aug
(67) |
Sep
(65) |
Oct
(55) |
Nov
(26) |
Dec
(32) |
2014 |
Jan
(38) |
Feb
(40) |
Mar
(40) |
Apr
(43) |
May
(28) |
Jun
(50) |
Jul
(79) |
Aug
(90) |
Sep
(75) |
Oct
(45) |
Nov
(62) |
Dec
(49) |
2015 |
Jan
(40) |
Feb
(64) |
Mar
(80) |
Apr
(43) |
May
(49) |
Jun
(46) |
Jul
(23) |
Aug
(69) |
Sep
(49) |
Oct
(61) |
Nov
(43) |
Dec
(33) |
2016 |
Jan
(15) |
Feb
(63) |
Mar
(40) |
Apr
(56) |
May
(43) |
Jun
(35) |
Jul
(41) |
Aug
(35) |
Sep
(10) |
Oct
(41) |
Nov
(39) |
Dec
(37) |
2017 |
Jan
(57) |
Feb
(19) |
Mar
(36) |
Apr
(8) |
May
(19) |
Jun
(17) |
Jul
(9) |
Aug
(18) |
Sep
(19) |
Oct
(17) |
Nov
(4) |
Dec
(13) |
2018 |
Jan
(17) |
Feb
(15) |
Mar
(23) |
Apr
(19) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
1
(7) |
2
(9) |
3
(9) |
4
(10) |
5
(2) |
6
(1) |
7
(3) |
8
(7) |
9
(9) |
10
(13) |
11
(19) |
12
(8) |
13
(5) |
14
(6) |
15
(12) |
16
(21) |
17
(7) |
18
(7) |
19
(10) |
20
(5) |
21
|
22
(12) |
23
(12) |
24
(8) |
25
|
26
(9) |
27
(3) |
28
|
29
(3) |
30
(27) |
|
|
|
|
From: Jody Garnett <jody.garnett@gm...> - 2009-06-16 23:30:31
|
Thanks Ferdinando: That sounds very interesting :-) If your lab / students produce any publications please let us know - we will be happy to link to them in a blog post and so on. If you had a pdf about ARIES we could also list that as a case study. Jody On Tue, Jun 16, 2009 at 11:07 PM, Ferdinando Villa<ferdinando.villa@...> wrote: > Our lab (http://ecoinformatics.uvm.edu) uses Geotools intensively in our > middleware (thinklab, http://www.integratedmodelling.org) and most notably > in our flagship project ARIES (http://ecoinformatics.uvm.edu/aries) - all > web sites due for an overhaul asap... > > ferdinando > > --- > Ferdinando Villa, Ph.D. > Research Professor, Ecoinformatics Collaboratory > Gund Institute for Ecological Economics, University of Vermont > http://ecoinformatics.uvm.edu > > -----Original Message----- > From: Andy Turner [mailto:A.G.D.Turner@...] > Sent: Tuesday, June 16, 2009 6:20 AM > To: 'Jody Garnett'; geotools-gt2-users@... > Subject: Re: [Geotools-gt2-users] who uses geotools? > > Hi Jody, GeoTools, > > We continue to use GeoTools at The University of Leeds. A current project > which is using 2.5.5 is called GENESIS. > > Thank you :-) > > Andy > http://www.geog.leeds.ac.uk/people/a.turner/ > > -----Original Message----- > From: Jody Garnett [mailto:jody.garnett@...] > Sent: 16 June 2009 07:07 > To: geotools-gt2-users@... > Subject: [Geotools-gt2-users] who uses geotools? > > Afternoon everyone: > > We have been gradually putting together a front end website for the library > (http://www.geotools.org/). The idea is to take some of the burden of the > wiki and focus on initial impressions. > > To that end we have a page devoted to the use of GeoTools; and I am going to > look for case-studies, presentations, and importantly who uses the library > :-) > - http://www.geotools.org/case/index.html > > To that end could I ask people to reply to this message (or even directly to > me if you are shy) with your organization's name. > > Cheers, > Jody Garnett > > Aside: I am also interested in what you are doing. > > ---------------------------------------------------------------------------- > -- > Crystal Reports - New Free Runtime and 30 Day Trial Check out the new > simplified licensing option that enables unlimited royalty-free distribution > of the report engine for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Geotools-gt2-users mailing list > Geotools-gt2-users@... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > ---------------------------------------------------------------------------- > -- > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Geotools-gt2-users mailing list > Geotools-gt2-users@... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > |
From: Justin Deoliveira <jdeolive@op...> - 2009-06-16 22:52:57
|
Hi Mark, Unfortunately, depending on the WFS server, and the backend datasource it is using it might report the geometry type as a specific type, or just as a generic geometry type, which I am guessing is happening in this specific case. One option would be to "morph" the feature type you get back from the WFS and explicitly set its geometry type to point. For example: SimpleFeatureType schema = ...; SimpleFeatureTypeBuilder tb = new SimpleFeatureTypeBuilder(); tb.setName( schema.getName()) tb.setCRS( schema.getCoordinateReferenceSystem()); for ( AttributeDescriptor at : schema.getAttributeDescriptors() ) { String name = at.getLocalName(); Class type = at.getType().getBinding(); if ( at instanceof GEometryDescriptor ) { type = Point.class; } tb.add(name,type); } schema = tb.buildFeatureType(); And then create the shapefile with that schema. A second option if you are using geoserver is to use the SHAPE-ZIP output format, which gives you back a zipped shapefile. Not sure if you are using geoserver though. -Justin Mark Ackerman wrote: > Hi, > I'm new to geotools. I'm trying to read from a WFS and write the data > to a shape file. Reading from > the WFS seems to be working fine, but when I go to create the > shapefile's schema I get the following > exception: > > toShpAction:IOException org.geotools.data.DataSourceException: Cannot > create a shapefile whose geometry type is class > com.vividsolutions.jts.geom.Geometry > org.geotools.data.DataSourceException: Cannot create a shapefile whose > geometrytype is class com.vividsolutions.jts.geom.Geometry > at > org.geotools.data.shapefile.ShapefileDataStore.createSchema(ShapefileDataStore.java:804) > > at > hec.dgt.plugins.WfsToShpPlugin.toShpAction(WfsToShpPlugin.java:303) > at > hec.dgt.plugins.GageToShpPlugin.doDownload(GageToShpPlugin.java:49) > at hec.dgt.DgtFrame.downloadData(DgtFrame.java:1076) > > From what I've been able to find, this error can occur when you're > returned more than one geometry type, > but in this case, at least as far as I'm able to determine, I'm only > getting points back. > > ShapefileDataStore dest; > try > { > dest = new ShapefileDataStore(f.toURI().toURL()); > } > catch (MalformedURLException e) > { > System.out.println("toShpAction:MalformedURLException "+e); > e.printStackTrace(); > return; > } > > try > { > dest.createSchema(schema); > } > catch (IOException e) > { > System.out.println("toShpAction:IOException "+e); > e.printStackTrace(); > return; > } > > > I'm using geotools 2.5.5 and Java 1.6 with my code running on windows xp. > > Thanks > Mark > > > > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Geotools-gt2-users mailing list > Geotools-gt2-users@... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial. |
From: Mark Ackerman <mark@rm...> - 2009-06-16 22:12:53
|
Hi, I'm new to geotools. I'm trying to read from a WFS and write the data to a shape file. Reading from the WFS seems to be working fine, but when I go to create the shapefile's schema I get the following exception: toShpAction:IOException org.geotools.data.DataSourceException: Cannot create a shapefile whose geometry type is class com.vividsolutions.jts.geom.Geometry org.geotools.data.DataSourceException: Cannot create a shapefile whose geometrytype is class com.vividsolutions.jts.geom.Geometry at org.geotools.data.shapefile.ShapefileDataStore.createSchema(ShapefileDataStore.java:804) at hec.dgt.plugins.WfsToShpPlugin.toShpAction(WfsToShpPlugin.java:303) at hec.dgt.plugins.GageToShpPlugin.doDownload(GageToShpPlugin.java:49) at hec.dgt.DgtFrame.downloadData(DgtFrame.java:1076) From what I've been able to find, this error can occur when you're returned more than one geometry type, but in this case, at least as far as I'm able to determine, I'm only getting points back. ShapefileDataStore dest; try { dest = new ShapefileDataStore(f.toURI().toURL()); } catch (MalformedURLException e) { System.out.println("toShpAction:MalformedURLException "+e); e.printStackTrace(); return; } try { dest.createSchema(schema); } catch (IOException e) { System.out.println("toShpAction:IOException "+e); e.printStackTrace(); return; } I'm using geotools 2.5.5 and Java 1.6 with my code running on windows xp. Thanks Mark |
From: ATI <luong8201@ho...> - 2009-06-16 17:14:46
|
Yes that does help alittle yes. However, i still don't know what to do when i see the - <dependency> <groupId>javax.media</groupId> <artifactId>jai_core</artifactId> - <!-- The version number is specified in the parent POM. --> <scope>provided</scope> - <!-- Users should execute JAI installer. --> </dependency> - <dependency> <groupId>javax.media</groupId> <artifactId>jai_imageio</artifactId> - <!-- The version number is specified in the parent POM. --> <scope>provided</scope> - <!-- Users should execute JAI installer. --> </dependency> i've downloaded both the JMF and JAI and installed it but i don't know what to do with those pom dependecies. What do i need to do exactly? Also, the gt-epsg-wkt does not seem to download as i get errors so i changed to gt-epsg-hsql, is that OK? I've compied the .shp file and the other files but when i run the app and select the .shp file nothing appears. but instead i get the following in my output pannel: [Fatal Error] :1:8: The processing instruction target matching "[xX][mM][lL]" is not allowed. java.lang.RuntimeException: org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed. at org.geotools.styling.SLDParser.readXML(SLDParser.java:290) at MapViewer.load(MapViewer.java:129) at MapViewer.actionPerformed(MapViewer.java:191) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:6263) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6028) at java.awt.Container.processEvent(Container.java:2041) at java.awt.Component.dispatchEventImpl(Component.java:4630) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Component.dispatchEvent(Component.java:4460) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168) at java.awt.Container.dispatchEventImpl(Container.java:2085) at java.awt.Window.dispatchEventImpl(Window.java:2475) at java.awt.Component.dispatchEvent(Component.java:4460) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) Caused by: org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.geotools.styling.SLDParser.readXML(SLDParser.java:286) ... 27 more At present, this is what i have in my pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.mycompany</groupId> <artifactId>demo</artifactId> <packaging>jar</packaging> <version>1.0-SNAPSHOT</version> <name>demo</name> <url>http://maven.apache.org</url> <properties> <geotoolsVersion>2.5.5</geotoolsVersion> </properties> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.geotools</groupId> <artifactId>gt-main</artifactId> <version>${geotoolsVersion}</version> </dependency> <dependency> <groupId>org.geotools</groupId> <artifactId>gt-api</artifactId> <version>${geotoolsVersion}</version> </dependency> <dependency> <groupId>org.geotools</groupId> <artifactId>gt-referencing</artifactId> <version>${geotoolsVersion}</version> </dependency> <dependency> <groupId>org.geotools</groupId> <artifactId>gt-mappane</artifactId> <version>${geotoolsVersion}</version> </dependency> <dependency> <groupId>org.geotools</groupId> <artifactId>gt-epsg-hsql</artifactId> <version>${geotoolsVersion}</version> </dependency> </dependencies> <!-- =========================================================== --> <!-- Build Configuration --> <!-- =========================================================== --> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifest> <mainClass>org.geotools.demo.mappane.MapViewer</mainClass> <addClasspath>true</addClasspath> </manifest> </archive> </configuration> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>2.0.2</version> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> </plugins> <resources> <resource> <directory>data</directory> <includes> <include>**</include> </includes> </resource> </resources> </build> </project> -- View this message in context: http://n2.nabble.com/MapViewer-Demo-Question-tp3082499p3086151.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. |
From: Steve Ansari <Steve.Ansari@no...> - 2009-06-16 17:14:38
|
NOAA's National Climatic Data Center ( http://www.ncdc.noaa.gov ) is using GeoTools for the 'Weather and Climate Toolkit' : http://www.ncdc.noaa.gov/oa/wct/ , a visualization and data export tool for Weather Radar and Satellite data (with other data types in the works). GeoTools is also used for several internal data processing applications. We've used GeoTools since the old '1.0' version at least 4 years ago. Steve Ferdinando Villa said the following on 6/16/2009 9:07 AM: > Our lab (http://ecoinformatics.uvm.edu) uses Geotools intensively in our > middleware (thinklab, http://www.integratedmodelling.org) and most notably > in our flagship project ARIES (http://ecoinformatics.uvm.edu/aries) - all > web sites due for an overhaul asap... > > ferdinando > > --- > Ferdinando Villa, Ph.D. > Research Professor, Ecoinformatics Collaboratory > Gund Institute for Ecological Economics, University of Vermont > http://ecoinformatics.uvm.edu > > -----Original Message----- > From: Andy Turner [mailto:A.G.D.Turner@...] > Sent: Tuesday, June 16, 2009 6:20 AM > To: 'Jody Garnett'; geotools-gt2-users@... > Subject: Re: [Geotools-gt2-users] who uses geotools? > > Hi Jody, GeoTools, > > We continue to use GeoTools at The University of Leeds. A current project > which is using 2.5.5 is called GENESIS. > > Thank you :-) > > Andy > http://www.geog.leeds.ac.uk/people/a.turner/ > > -----Original Message----- > From: Jody Garnett [mailto:jody.garnett@...] > Sent: 16 June 2009 07:07 > To: geotools-gt2-users@... > Subject: [Geotools-gt2-users] who uses geotools? > > Afternoon everyone: > > We have been gradually putting together a front end website for the library > (http://www.geotools.org/). The idea is to take some of the burden of the > wiki and focus on initial impressions. > > To that end we have a page devoted to the use of GeoTools; and I am going to > look for case-studies, presentations, and importantly who uses the library > :-) > - http://www.geotools.org/case/index.html > > To that end could I ask people to reply to this message (or even directly to > me if you are shy) with your organization's name. > > Cheers, > Jody Garnett > > Aside: I am also interested in what you are doing. > > ---------------------------------------------------------------------------- > -- > Crystal Reports - New Free Runtime and 30 Day Trial Check out the new > simplified licensing option that enables unlimited royalty-free distribution > of the report engine for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Geotools-gt2-users mailing list > Geotools-gt2-users@... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > ---------------------------------------------------------------------------- > -- > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Geotools-gt2-users mailing list > Geotools-gt2-users@... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Geotools-gt2-users mailing list > Geotools-gt2-users@... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > -- Steve Ansari Physical Scientist NOAA's National Climatic Data Center Veach-Baley Federal Building 151 Patton Avenue Asheville, NC 28801 Ph: 828-271-4611 Fax: 828-271-4328 |
From: Roy Braam <roybraam@b3...> - 2009-06-16 15:18:11
|
Justin, I added a query and added all properties except the geom property. So i get a response without geom. (for this project i don't need the geom). If i need the geom (later this week) i'll try 1.0. Thanks! Roy From: Justin Deoliveira [mailto:jdeolive@...] To: Roy Braam [mailto:roybraam@...] Cc: geotools-gt2-users@..., Gabriel Roldan [mailto:groldan@...] Sent: Tue, 16 Jun 2009 15:56:22 +0200 Subject: Re: [Geotools-gt2-users] Wfsdatastore and gml3 parse error. Hi Roy, Unfortunately the wfs 1.1 client does not handle surfaces... as you see. Have you tried the same request using wfs 1.0? Or do you require wfs 1.1 functionality? Gabriel: It is too bad we can't sync up the xsd stuff with the wfs module, since parsing surfaces is handled there now. Well simple surfaces that is. -Justin Roy Braam wrote: > Hello list, > > When i'm using the WFSDatastore (1.1.0) on a wfs 1.1.0 service. The > datastore gives the following error: > > java.lang.IllegalStateException: Unrecognized geometry element > {http://www.opengis.net/gml}Surface > at > org.geotools.data.wfs.v1_1_0.parsers.XmlSimpleFeatureParser.parseGeom(XmlSimpleFeatureParser.java:265) > at > org.geotools.data.wfs.v1_1_0.parsers.XmlSimpleFeatureParser.parseAttributeValue(XmlSimpleFeatureParser.java:214) > at > org.geotools.data.wfs.v1_1_0.parsers.XmlSimpleFeatureParser.parse(XmlSimpleFeatureParser.java:183) > at > org.geotools.data.wfs.v1_1_0.WFSFeatureReader.<init>(WFSFeatureReader.java:52) > at > org.geotools.data.wfs.v1_1_0.WFS_1_1_0_DataStore.getFeatureReader(WFS_1_1_0_DataStore.java:340) > at > org.geotools.data.wfs.v1_1_0.WFSFeatureCollection.reader(WFSFeatureCollection.java:168) > at > org.geotools.data.store.DataFeatureCollection.openIterator(DataFeatureCollection.java:229) > at > org.geotools.data.store.DataFeatureCollection.iterator(DataFeatureCollection.java:199) > at > org.geotools.data.store.DataFeatureCollection.features(DataFeatureCollection.java:188) > at nl.b3p.zoeker.services.Zoeker.zoekMetConfiguratie(Zoeker.java:106) > at nl.b3p.zoeker.services.Zoeker.zoek(Zoeker.java:59) > > The request done: > <wfs:GetFeature handle="GeoTools 2.5.RC-1 WFS DataStore" > maxFeatures="1000" outputFormat="text/xml; subtype=gml/3.1.1" > resultType="results" service="WFS" version="1.1.0" > xmlns:app="http://www.deegree.org/app"; > xmlns:ogc="http://www.opengis.net/ogc"; > xmlns:gml="http://www.opengis.net/gml"; > xmlns:xlink="http://www.w3.org/1999/xlink"; > xmlns:ows="http://www.opengis.net/ows"; > xmlns:wfs="http://www.opengis.net/wfs"> > <wfs:Query srsName="urn:ogc:def:crs:EPSG::28992" typeName="app:Plangebied"> > <ogc:Filter> > <ogc:PropertyIsLike escapeChar="\" singleChar="?" wildCard="*"> > <ogc:PropertyName>overheidscode</ogc:PropertyName> > <ogc:Literal>*0203*</ogc:Literal> > </ogc:PropertyIsLike> > </ogc:Filter> > </wfs:Query> > </wfs:GetFeature> > > The geom gml part returned and causes the error (i removed some coorinates): > <app:geometrie> > <gml:Surface srsName='urn:ogc:def:crs:EPSG::28992'> > <gml:patches> > <gml:PolygonPatch> > <gml:exterior> > <gml:LinearRing> > <gml:posList srsDimension='2' > count='1156'>167737.178 462109.239 167732.836 ...</gml:posList> > </gml:LinearRing> > </gml:exterior> > <gml:interior> > <gml:LinearRing> > <gml:posList srsDimension='2' > count='20'>167635.811 461667.507 167635.8 461667.333 1...</gml:posList> > </gml:LinearRing> > </gml:interior> > <gml:interior> > <gml:LinearRing> > <gml:posList srsDimension='2' > count='17'>167797.684 461759.832 167772.607 461763.591 ...</gml:posList> > </gml:LinearRing> > </gml:interior> > <gml:interior> > <gml:LinearRing> > <gml:posList srsDimension='2' > count='31'>167787.24 461683.687 167786.124 461677.638 ...</gml:posList> > </gml:LinearRing> > </gml:interior> > <gml:interior> > <gml:LinearRing> > <gml:posList srsDimension='2' > count='224'>168010.198 461464.676 ...</gml:posList> > </gml:LinearRing> > </gml:interior> > <gml:interior> > <gml:LinearRing> > <gml:posList srsDimension='2' > count='44'>167994.584 461720.368 167984.016 461720.102 1...</gml:posList> > </gml:LinearRing> > </gml:interior> > <gml:interior> > <gml:LinearRing> > <gml:posList srsDimension='2' > count='185'>168109.304 461112.198 168111.0 461112.483 ...</gml:posList> > </gml:LinearRing> > </gml:interior> > </gml:PolygonPatch> > </gml:patches> > </gml:Surface> > </app:geometrie> > > If 3.1.1 is not supported how can you force the wfsdatastore to use a > nother outputformat? > > Tia > > Roy > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > > > ------------------------------------------------------------------------ > > _______________________________________________ > Geotools-gt2-users mailing list > Geotools-gt2-users@... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial. |
From: Sicky <Christian.Rueh@ro...> - 2009-06-16 14:45:20
|
Hi! As you might see I'm a new user and hope everything goes well with my registration/posting here. I've been digging myself into the GeoTools framework for the past weeks but now can't get any more help on my subject on this list or with google. Here's what I have done so far: 1) put some shapes (railroad network, road network and rivers) with osm data (downloaded from geofabrik) into a postgis database 2) displayed the data with geotools 3) build a graph using the LineStringGraphGenerator and just the railroad network data 4) select two points on the map which are on the graph 5) use Dijkstra to find the shortest way between these points. The problem is point 3) I saw that the graph generated is not well connected and checked this with the GraphPartitioner which had approx. 167 partitions while the dataset (railroad network) hast just 531 entries. At that point I informed myself here and got to know that I have to make a point/node whenever 2 lines crosses and make 4 lines from them (or 3 in a special case) Then I saw 2 possible solutions for this here: 1) Use a PolygonGraphGenerator to get the intersection. 2) Split the linestrings in a seperate method and still build the graph with the LineStringGraphGenerator (code taken from here: http://n2.nabble.com/Splitting-LineStrings-at-their-intersection-td1941502.html http://n2.nabble.com/Splitting-LineStrings-at-their-intersection-td1941502.html ) I tried both and run into the following problems: 1) Graph seems to be way to small, resulting graph is: V=[14, 19, 5, 7, 8, 12, 2, 4, 13, 0, 23, 16, 22, 1, 10, 26, 24, 17, 20] E=[3 (2,1), 21 (20,13), 6 (5,1), 9 (8,1), 15 (14,1), 18 (17,1), 25 (24,1), 11 (10,1)] whenever I want to route I get: Shortest path: null 2) I see 2 problems here, first that it doesn't allways find a path, like in this picture/case: http://sicky.i-networx.de/temp/no_shortest_path.png http://sicky.i-networx.de/temp/no_shortest_path.png 2nd problem is that the path looks very strange: http://sicky.i-networx.de/temp/strange_behavior.png http://sicky.i-networx.de/temp/strange_behavior.png The discussion in the topic I mentioned above unde 2) ended apruptly so I don't have a real solution. So, to take this to and end my questions: 1. What's wrong with the code and/or 2. is there an easy way to route with osm data when you use geotools. Here's all you need to understand my problems: Code for the implementation with the splitting of lines: http://sicky.i-networx.de/temp/TestGUI.java http://sicky.i-networx.de/temp/TestGUI.java Code for the polygon stuff: http://sicky.i-networx.de/temp/TestGUI2.java http://sicky.i-networx.de/temp/TestGUI2.java additional needed classes: http://sicky.i-networx.de/temp/DijkstraShortestPath.java http://sicky.i-networx.de/temp/DijkstraShortestPath.java http://sicky.i-networx.de/temp/SelectionTool.java http://sicky.i-networx.de/temp/SelectionTool.java postgis database dump: http://sicky.i-networx.de/temp/imotris_os.backup I hope that was all and my problems are understandable. If there's something missing or if there are any questions, just drop me a line. Thanks in advance for your help :-) -- View this message in context: http://n2.nabble.com/Building-a-connected-graph-with-OSM-data---Splitting-LineStrings-at-their-intersections-tp3086758p3086758.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. |
From: Gabriel Roldan <groldan@op...> - 2009-06-16 14:11:09
|
Justin Deoliveira wrote: > Hi Roy, > > Unfortunately the wfs 1.1 client does not handle surfaces... as you see. > Have you tried the same request using wfs 1.0? Or do you require wfs 1.1 > functionality? > > Gabriel: It is too bad we can't sync up the xsd stuff with the wfs > module, since parsing surfaces is handled there now. Well simple > surfaces that is. right. Long term plan was always to use StreamingParser. Problem begin it goes OOM and I couldn't use it for the FGDC project. I'm looking forward to work on it for good, but it'll have to be with your help wrt the parser. Aside, can StreamingParser use ParserDelegate as Parser does? Cheers, Gabriel > > -Justin > > Roy Braam wrote: >> Hello list, >> >> When i'm using the WFSDatastore (1.1.0) on a wfs 1.1.0 service. The >> datastore gives the following error: >> >> java.lang.IllegalStateException: Unrecognized geometry element >> {http://www.opengis.net/gml}Surface >> at >> org.geotools.data.wfs.v1_1_0.parsers.XmlSimpleFeatureParser.parseGeom(XmlSimpleFeatureParser.java:265) >> >> at >> org.geotools.data.wfs.v1_1_0.parsers.XmlSimpleFeatureParser.parseAttributeValue(XmlSimpleFeatureParser.java:214) >> >> at >> org.geotools.data.wfs.v1_1_0.parsers.XmlSimpleFeatureParser.parse(XmlSimpleFeatureParser.java:183) >> >> at >> org.geotools.data.wfs.v1_1_0.WFSFeatureReader.<init>(WFSFeatureReader.java:52) >> >> at >> org.geotools.data.wfs.v1_1_0.WFS_1_1_0_DataStore.getFeatureReader(WFS_1_1_0_DataStore.java:340) >> >> at >> org.geotools.data.wfs.v1_1_0.WFSFeatureCollection.reader(WFSFeatureCollection.java:168) >> >> at >> org.geotools.data.store.DataFeatureCollection.openIterator(DataFeatureCollection.java:229) >> >> at >> org.geotools.data.store.DataFeatureCollection.iterator(DataFeatureCollection.java:199) >> >> at >> org.geotools.data.store.DataFeatureCollection.features(DataFeatureCollection.java:188) >> >> at nl.b3p.zoeker.services.Zoeker.zoekMetConfiguratie(Zoeker.java:106) >> at nl.b3p.zoeker.services.Zoeker.zoek(Zoeker.java:59) >> The request done: >> <wfs:GetFeature handle="GeoTools 2.5.RC-1 WFS DataStore" >> maxFeatures="1000" outputFormat="text/xml; subtype=gml/3.1.1" >> resultType="results" service="WFS" version="1.1.0" >> xmlns:app="http://www.deegree.org/app"; >> xmlns:ogc="http://www.opengis.net/ogc"; >> xmlns:gml="http://www.opengis.net/gml"; >> xmlns:xlink="http://www.w3.org/1999/xlink"; >> xmlns:ows="http://www.opengis.net/ows"; >> xmlns:wfs="http://www.opengis.net/wfs"> >> <wfs:Query srsName="urn:ogc:def:crs:EPSG::28992" >> typeName="app:Plangebied"> >> <ogc:Filter> >> <ogc:PropertyIsLike escapeChar="\" singleChar="?" wildCard="*"> >> <ogc:PropertyName>overheidscode</ogc:PropertyName> >> <ogc:Literal>*0203*</ogc:Literal> >> </ogc:PropertyIsLike> >> </ogc:Filter> >> </wfs:Query> >> </wfs:GetFeature> >> >> The geom gml part returned and causes the error (i removed some >> coorinates): >> <app:geometrie> >> <gml:Surface srsName='urn:ogc:def:crs:EPSG::28992'> >> <gml:patches> >> <gml:PolygonPatch> >> <gml:exterior> >> <gml:LinearRing> >> <gml:posList srsDimension='2' >> count='1156'>167737.178 462109.239 167732.836 ...</gml:posList> >> </gml:LinearRing> >> </gml:exterior> >> <gml:interior> >> <gml:LinearRing> >> <gml:posList srsDimension='2' >> count='20'>167635.811 461667.507 167635.8 461667.333 1...</gml:posList> >> </gml:LinearRing> >> </gml:interior> >> <gml:interior> >> <gml:LinearRing> >> <gml:posList srsDimension='2' >> count='17'>167797.684 461759.832 167772.607 461763.591 ...</gml:posList> >> </gml:LinearRing> >> </gml:interior> >> <gml:interior> >> <gml:LinearRing> >> <gml:posList srsDimension='2' >> count='31'>167787.24 461683.687 167786.124 461677.638 ...</gml:posList> >> </gml:LinearRing> >> </gml:interior> >> <gml:interior> >> <gml:LinearRing> >> <gml:posList srsDimension='2' >> count='224'>168010.198 461464.676 ...</gml:posList> >> </gml:LinearRing> >> </gml:interior> >> <gml:interior> >> <gml:LinearRing> >> <gml:posList srsDimension='2' >> count='44'>167994.584 461720.368 167984.016 461720.102 1...</gml:posList> >> </gml:LinearRing> >> </gml:interior> >> <gml:interior> >> <gml:LinearRing> >> <gml:posList srsDimension='2' >> count='185'>168109.304 461112.198 168111.0 461112.483 ...</gml:posList> >> </gml:LinearRing> >> </gml:interior> >> </gml:PolygonPatch> >> </gml:patches> >> </gml:Surface> >> </app:geometrie> >> >> If 3.1.1 is not supported how can you force the wfsdatastore to use a >> nother outputformat? >> >> Tia >> >> Roy >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------------ >> >> Crystal Reports - New Free Runtime and 30 Day Trial >> Check out the new simplified licensing option that enables unlimited >> royalty-free distribution of the report engine for externally facing >> server and web deployment. >> http://p.sf.net/sfu/businessobjects >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Geotools-gt2-users mailing list >> Geotools-gt2-users@... >> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > -- Gabriel Roldan OpenGeo - http://opengeo.org Expert service straight from the developers. |
From: Justin Deoliveira <jdeolive@op...> - 2009-06-16 14:06:14
|
Hi Roy, Unfortunately the wfs 1.1 client does not handle surfaces... as you see. Have you tried the same request using wfs 1.0? Or do you require wfs 1.1 functionality? Gabriel: It is too bad we can't sync up the xsd stuff with the wfs module, since parsing surfaces is handled there now. Well simple surfaces that is. -Justin Roy Braam wrote: > Hello list, > > When i'm using the WFSDatastore (1.1.0) on a wfs 1.1.0 service. The > datastore gives the following error: > > java.lang.IllegalStateException: Unrecognized geometry element > {http://www.opengis.net/gml}Surface > at > org.geotools.data.wfs.v1_1_0.parsers.XmlSimpleFeatureParser.parseGeom(XmlSimpleFeatureParser.java:265) > at > org.geotools.data.wfs.v1_1_0.parsers.XmlSimpleFeatureParser.parseAttributeValue(XmlSimpleFeatureParser.java:214) > at > org.geotools.data.wfs.v1_1_0.parsers.XmlSimpleFeatureParser.parse(XmlSimpleFeatureParser.java:183) > at > org.geotools.data.wfs.v1_1_0.WFSFeatureReader.<init>(WFSFeatureReader.java:52) > at > org.geotools.data.wfs.v1_1_0.WFS_1_1_0_DataStore.getFeatureReader(WFS_1_1_0_DataStore.java:340) > at > org.geotools.data.wfs.v1_1_0.WFSFeatureCollection.reader(WFSFeatureCollection.java:168) > at > org.geotools.data.store.DataFeatureCollection.openIterator(DataFeatureCollection.java:229) > at > org.geotools.data.store.DataFeatureCollection.iterator(DataFeatureCollection.java:199) > at > org.geotools.data.store.DataFeatureCollection.features(DataFeatureCollection.java:188) > at nl.b3p.zoeker.services.Zoeker.zoekMetConfiguratie(Zoeker.java:106) > at nl.b3p.zoeker.services.Zoeker.zoek(Zoeker.java:59) > > The request done: > <wfs:GetFeature handle="GeoTools 2.5.RC-1 WFS DataStore" > maxFeatures="1000" outputFormat="text/xml; subtype=gml/3.1.1" > resultType="results" service="WFS" version="1.1.0" > xmlns:app="http://www.deegree.org/app"; > xmlns:ogc="http://www.opengis.net/ogc"; > xmlns:gml="http://www.opengis.net/gml"; > xmlns:xlink="http://www.w3.org/1999/xlink"; > xmlns:ows="http://www.opengis.net/ows"; > xmlns:wfs="http://www.opengis.net/wfs"> > <wfs:Query srsName="urn:ogc:def:crs:EPSG::28992" typeName="app:Plangebied"> > <ogc:Filter> > <ogc:PropertyIsLike escapeChar="\" singleChar="?" wildCard="*"> > <ogc:PropertyName>overheidscode</ogc:PropertyName> > <ogc:Literal>*0203*</ogc:Literal> > </ogc:PropertyIsLike> > </ogc:Filter> > </wfs:Query> > </wfs:GetFeature> > > The geom gml part returned and causes the error (i removed some coorinates): > <app:geometrie> > <gml:Surface srsName='urn:ogc:def:crs:EPSG::28992'> > <gml:patches> > <gml:PolygonPatch> > <gml:exterior> > <gml:LinearRing> > <gml:posList srsDimension='2' > count='1156'>167737.178 462109.239 167732.836 ...</gml:posList> > </gml:LinearRing> > </gml:exterior> > <gml:interior> > <gml:LinearRing> > <gml:posList srsDimension='2' > count='20'>167635.811 461667.507 167635.8 461667.333 1...</gml:posList> > </gml:LinearRing> > </gml:interior> > <gml:interior> > <gml:LinearRing> > <gml:posList srsDimension='2' > count='17'>167797.684 461759.832 167772.607 461763.591 ...</gml:posList> > </gml:LinearRing> > </gml:interior> > <gml:interior> > <gml:LinearRing> > <gml:posList srsDimension='2' > count='31'>167787.24 461683.687 167786.124 461677.638 ...</gml:posList> > </gml:LinearRing> > </gml:interior> > <gml:interior> > <gml:LinearRing> > <gml:posList srsDimension='2' > count='224'>168010.198 461464.676 ...</gml:posList> > </gml:LinearRing> > </gml:interior> > <gml:interior> > <gml:LinearRing> > <gml:posList srsDimension='2' > count='44'>167994.584 461720.368 167984.016 461720.102 1...</gml:posList> > </gml:LinearRing> > </gml:interior> > <gml:interior> > <gml:LinearRing> > <gml:posList srsDimension='2' > count='185'>168109.304 461112.198 168111.0 461112.483 ...</gml:posList> > </gml:LinearRing> > </gml:interior> > </gml:PolygonPatch> > </gml:patches> > </gml:Surface> > </app:geometrie> > > If 3.1.1 is not supported how can you force the wfsdatastore to use a > nother outputformat? > > Tia > > Roy > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > > > ------------------------------------------------------------------------ > > _______________________________________________ > Geotools-gt2-users mailing list > Geotools-gt2-users@... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial. |
From: Simone Giannecchini <simboss1@gm...> - 2009-06-16 14:05:23
|
Quick code example: // getting a reader GeoTiffReader reader = new GeoTiffReader(file); // reading the coverage GridCoverage2D coverage = (GridCoverage2D) reader.read(null) Simone. ------------------------------------------------------- Ing. Simone Giannecchini GeoSolutions S.A.S. Owner - Software Engineer Via Carignoni 51 55041 Camaiore (LU) Italy phone: +39 0584983027 fax: +39 0584983027 mob: +39 333 8128928 http://www.geo-solutions.it http://simboss.blogspot.com/ http://www.linkedin.com/in/simonegiannecchini ------------------------------------------------------- 2009/6/16 zeng <xiaoxxcool@...>: > Hi, Garnett > > Thanks for your reply, did you know how to load a tiff file to a grid > coverage? > And sorry for that my organization is Chinese Academy of Sciences. > > > 在2009-06-16,"Jody Garnett" <jody.garnett@...> 写道: >>We should keep the questions on the user list (so others that know >>more about raster support than me can answer). >> >>My understanding is that you can load any file into a grid coverage >>(ie raster plus bounds datastructure). And then use the GeoTiff writer >>to write it out with the correct tags. >> >>You should be using an appropriate reader (not just the GeoTiffReader >>when reading other file formats such as jpeg, jpeg2000, ecw and so >>on). >> >>Thanks for the information; I will add Chinese Academy of Science to the >> list. >>Jody >> >>2009/6/16 zeng <xiaoxxcool@...>: >>> Hi, Garnett >>> I am gis student in Chinese Academy of Science, I am trying to make a web >>> processing service on image data. >>> But I am troubled on how to make a geotiff file with geotools, I have >>> looked >>> through the user guide, and only found a GeoTiffWriterTest.java is >>> useful, >>> but it's not adequate for me, because it only shows how to create a >>> geotiff >>> file from a GridCoverage. What I want is more concrete about how to add >>> some >>> geokeys to a none-geotiff file, that is make it a geotiff file, you know >>> that GeoTiffReader will get an error when read a none-geotiff file, I >>> just >>> want to get rid of it. >>> Would you please give me some suggestion on this? Thank you. >>> >>> >>> 在2009-06-16,"Jody Garnett" <jody.garnett@...> 写道: >>>>Afternoon everyone: >>>> >>>>We have been gradually putting together a front end website for the >>>>library (http://www.geotools.org/). The idea is to take some of the >>>>burden of the wiki and focus on initial impressions. >>>> >>>>To that end we have a page devoted to the use of GeoTools; and I am >>>>going to look for case-studies, presentations, and importantly who >>>>uses the library :-) >>>>- http://www.geotools.org/case/index.html >>>> >>>>To that end could I ask people to reply to this message (or even >>>>directly to me if you are shy) with your organization's name. >>>> >>>>Cheers, >>>>Jody Garnett >>>> >>>>Aside: I am also interested in what you are doing. >>>> >>>>------------------------------------------------------------------------------ >>>>Crystal Reports - New Free Runtime and 30 Day Trial >>>>Check out the new simplified licensing option that enables unlimited >>>>royalty-free distribution of the report engine for externally facing >>>>server and web deployment. >>>>http://p.sf.net/sfu/businessobjects >>>>_______________________________________________ >>>>Geotools-gt2-users mailing list >>>>Geotools-gt2-users@... >>>>https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users >>> >>> >>> ________________________________ >>> 网易企业邮,商务邮箱专家 > > > ________________________________ > 网易企业邮,商务邮箱专家 > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Geotools-gt2-users mailing list > Geotools-gt2-users@... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > |
From: Ferdinando Villa <ferdinando.villa@uv...> - 2009-06-16 13:11:57
|
Our lab (http://ecoinformatics.uvm.edu) uses Geotools intensively in our middleware (thinklab, http://www.integratedmodelling.org) and most notably in our flagship project ARIES (http://ecoinformatics.uvm.edu/aries) - all web sites due for an overhaul asap... ferdinando --- Ferdinando Villa, Ph.D. Research Professor, Ecoinformatics Collaboratory Gund Institute for Ecological Economics, University of Vermont http://ecoinformatics.uvm.edu -----Original Message----- From: Andy Turner [mailto:A.G.D.Turner@...] Sent: Tuesday, June 16, 2009 6:20 AM To: 'Jody Garnett'; geotools-gt2-users@... Subject: Re: [Geotools-gt2-users] who uses geotools? Hi Jody, GeoTools, We continue to use GeoTools at The University of Leeds. A current project which is using 2.5.5 is called GENESIS. Thank you :-) Andy http://www.geog.leeds.ac.uk/people/a.turner/ -----Original Message----- From: Jody Garnett [mailto:jody.garnett@...] Sent: 16 June 2009 07:07 To: geotools-gt2-users@... Subject: [Geotools-gt2-users] who uses geotools? Afternoon everyone: We have been gradually putting together a front end website for the library (http://www.geotools.org/). The idea is to take some of the burden of the wiki and focus on initial impressions. To that end we have a page devoted to the use of GeoTools; and I am going to look for case-studies, presentations, and importantly who uses the library :-) - http://www.geotools.org/case/index.html To that end could I ask people to reply to this message (or even directly to me if you are shy) with your organization's name. Cheers, Jody Garnett Aside: I am also interested in what you are doing. ---------------------------------------------------------------------------- -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@... https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users ---------------------------------------------------------------------------- -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@... https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users |
From: ATI <luong8201@ho...> - 2009-06-16 12:52:12
|
Also, when i run the app, i don't know if i need to do this, but i tried setting the CRS and default it was EPSG:4326 and i selected OK, but i gave an error of class.null.pointerException. Do i need to set this? -- View this message in context: http://n2.nabble.com/MapViewer-Demo-Question-tp3082499p3086164.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. |
From: Andy Turner <A.G.D.Turner@le...> - 2009-06-16 10:22:33
|
Hi Jody, GeoTools, We continue to use GeoTools at The University of Leeds. A current project which is using 2.5.5 is called GENESIS. Thank you :-) Andy http://www.geog.leeds.ac.uk/people/a.turner/ -----Original Message----- From: Jody Garnett [mailto:jody.garnett@...] Sent: 16 June 2009 07:07 To: geotools-gt2-users@... Subject: [Geotools-gt2-users] who uses geotools? Afternoon everyone: We have been gradually putting together a front end website for the library (http://www.geotools.org/). The idea is to take some of the burden of the wiki and focus on initial impressions. To that end we have a page devoted to the use of GeoTools; and I am going to look for case-studies, presentations, and importantly who uses the library :-) - http://www.geotools.org/case/index.html To that end could I ask people to reply to this message (or even directly to me if you are shy) with your organization's name. Cheers, Jody Garnett Aside: I am also interested in what you are doing. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@... https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users |
From: Simone Giannecchini <simone.giannecchini@ge...> - 2009-06-16 10:17:23
|
The best way to do this is to use gdal tools, specifically the gdal_translate utility. Simone. ------------------------------------------------------- Ing. Simone Giannecchini GeoSolutions S.A.S. Owner - Software Engineer Via Carignoni 51 55041 Camaiore (LU) Italy phone: +39 0584983027 fax: +39 0584983027 mob: +39 333 8128928 http://www.geo-solutions.it http://simboss.blogspot.com/ http://www.linkedin.com/in/simonegiannecchini ------------------------------------------------------- 2009/6/15 zeng <xiaoxxcool@...>: > Hi, list > I have a tiff file without geokey directory, how to add geokey directory > to it? > > Thanks. > > > > ________________________________ > 网易全新推出企业邮箱 > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Geotools-gt2-users mailing list > Geotools-gt2-users@... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > |
From: zeng <xiaoxxcool@16...> - 2009-06-16 08:55:24
|
Hi, Garnett Thanks for your reply, did you know how to load a tiff file to a grid coverage? And sorry for that my organization is Chinese Academy of Sciences. 在2009-06-16,"Jody Garnett" <jody.garnett@...> 写道: >We should keep the questions on the user list (so others that know >more about raster support than me can answer). > >My understanding is that you can load any file into a grid coverage >(ie raster plus bounds datastructure). And then use the GeoTiff writer >to write it out with the correct tags. > >You should be using an appropriate reader (not just the GeoTiffReader >when reading other file formats such as jpeg, jpeg2000, ecw and so >on). > >Thanks for the information; I will add Chinese Academy of Science to the list. >Jody > >2009/6/16 zeng <xiaoxxcool@...>: >> Hi, Garnett >> I am gis student in Chinese Academy of Science, I am trying to make a web >> processing service on image data. >> But I am troubled on how to make a geotiff file with geotools, I have looked >> through the user guide, and only found a GeoTiffWriterTest.java is useful, >> but it's not adequate for me, because it only shows how to create a geotiff >> file from a GridCoverage. What I want is more concrete about how to add some >> geokeys to a none-geotiff file, that is make it a geotiff file, you know >> that GeoTiffReader will get an error when read a none-geotiff file, I just >> want to get rid of it. >> Would you please give me some suggestion on this? Thank you. >> >> >> 在2009-06-16,"Jody Garnett" <jody.garnett@...> 写道: >>>Afternoon everyone: >>> >>>We have been gradually putting together a front end website for the >>>library (http://www.geotools.org/). The idea is to take some of the >>>burden of the wiki and focus on initial impressions. >>> >>>To that end we have a page devoted to the use of GeoTools; and I am >>>going to look for case-studies, presentations, and importantly who >>>uses the library :-) >>>- http://www.geotools.org/case/index.html >>> >>>To that end could I ask people to reply to this message (or even >>>directly to me if you are shy) with your organization's name. >>> >>>Cheers, >>>Jody Garnett >>> >>>Aside: I am also interested in what you are doing. >>> >>>------------------------------------------------------------------------------ >>>Crystal Reports - New Free Runtime and 30 Day Trial >>>Check out the new simplified licensing option that enables unlimited >>>royalty-free distribution of the report engine for externally facing >>>server and web deployment. >>>http://p.sf.net/sfu/businessobjects >>>_______________________________________________ >>>Geotools-gt2-users mailing list >>>Geotools-gt2-users@... >>>https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users >> >> >> ________________________________ >> 网易企业邮,商务邮箱专家 |
From: Roy Braam <roybraam@b3...> - 2009-06-16 08:53:37
|
Hello list, When i'm using the WFSDatastore (1.1.0) on a wfs 1.1.0 service. The datastore gives the following error: java.lang.IllegalStateException: Unrecognized geometry element {http://www.opengis.net/gml}Surface at org.geotools.data.wfs.v1_1_0.parsers.XmlSimpleFeatureParser.parseGeom(XmlSimpleFeatureParser.java:265) at org.geotools.data.wfs.v1_1_0.parsers.XmlSimpleFeatureParser.parseAttributeValue(XmlSimpleFeatureParser.java:214) at org.geotools.data.wfs.v1_1_0.parsers.XmlSimpleFeatureParser.parse(XmlSimpleFeatureParser.java:183) at org.geotools.data.wfs.v1_1_0.WFSFeatureReader.<init>(WFSFeatureReader.java:52) at org.geotools.data.wfs.v1_1_0.WFS_1_1_0_DataStore.getFeatureReader(WFS_1_1_0_DataStore.java:340) at org.geotools.data.wfs.v1_1_0.WFSFeatureCollection.reader(WFSFeatureCollection.java:168) at org.geotools.data.store.DataFeatureCollection.openIterator(DataFeatureCollection.java:229) at org.geotools.data.store.DataFeatureCollection.iterator(DataFeatureCollection.java:199) at org.geotools.data.store.DataFeatureCollection.features(DataFeatureCollection.java:188) at nl.b3p.zoeker.services.Zoeker.zoekMetConfiguratie(Zoeker.java:106) at nl.b3p.zoeker.services.Zoeker.zoek(Zoeker.java:59) The request done: <wfs:GetFeature handle="GeoTools 2.5.RC-1 WFS DataStore" maxFeatures="1000" outputFormat="text/xml; subtype=gml/3.1.1" resultType="results" service="WFS" version="1.1.0" xmlns:app="http://www.deegree.org/app"; xmlns:ogc="http://www.opengis.net/ogc"; xmlns:gml="http://www.opengis.net/gml"; xmlns:xlink="http://www.w3.org/1999/xlink"; xmlns:ows="http://www.opengis.net/ows"; xmlns:wfs="http://www.opengis.net/wfs"> <wfs:Query srsName="urn:ogc:def:crs:EPSG::28992" typeName="app:Plangebied"> <ogc:Filter> <ogc:PropertyIsLike escapeChar="\" singleChar="?" wildCard="*"> <ogc:PropertyName>overheidscode</ogc:PropertyName> <ogc:Literal>*0203*</ogc:Literal> </ogc:PropertyIsLike> </ogc:Filter> </wfs:Query> </wfs:GetFeature> The geom gml part returned and causes the error (i removed some coorinates): <app:geometrie> <gml:Surface srsName='urn:ogc:def:crs:EPSG::28992'> <gml:patches> <gml:PolygonPatch> <gml:exterior> <gml:LinearRing> <gml:posList srsDimension='2' count='1156'>167737.178 462109.239 167732.836 ...</gml:posList> </gml:LinearRing> </gml:exterior> <gml:interior> <gml:LinearRing> <gml:posList srsDimension='2' count='20'>167635.811 461667.507 167635.8 461667.333 1...</gml:posList> </gml:LinearRing> </gml:interior> <gml:interior> <gml:LinearRing> <gml:posList srsDimension='2' count='17'>167797.684 461759.832 167772.607 461763.591 ...</gml:posList> </gml:LinearRing> </gml:interior> <gml:interior> <gml:LinearRing> <gml:posList srsDimension='2' count='31'>167787.24 461683.687 167786.124 461677.638 ...</gml:posList> </gml:LinearRing> </gml:interior> <gml:interior> <gml:LinearRing> <gml:posList srsDimension='2' count='224'>168010.198 461464.676 ...</gml:posList> </gml:LinearRing> </gml:interior> <gml:interior> <gml:LinearRing> <gml:posList srsDimension='2' count='44'>167994.584 461720.368 167984.016 461720.102 1...</gml:posList> </gml:LinearRing> </gml:interior> <gml:interior> <gml:LinearRing> <gml:posList srsDimension='2' count='185'>168109.304 461112.198 168111.0 461112.483 ...</gml:posList> </gml:LinearRing> </gml:interior> </gml:PolygonPatch> </gml:patches> </gml:Surface> </app:geometrie> If 3.1.1 is not supported how can you force the wfsdatastore to use a nother outputformat? Tia Roy |
From: Jody Garnett <jody.garnett@gm...> - 2009-06-16 08:12:44
|
We should keep the questions on the user list (so others that know more about raster support than me can answer). My understanding is that you can load any file into a grid coverage (ie raster plus bounds datastructure). And then use the GeoTiff writer to write it out with the correct tags. You should be using an appropriate reader (not just the GeoTiffReader when reading other file formats such as jpeg, jpeg2000, ecw and so on). Thanks for the information; I will add Chinese Academy of Science to the list. Jody 2009/6/16 zeng <xiaoxxcool@...>: > Hi, Garnett > I am gis student in Chinese Academy of Science, I am trying to make a web > processing service on image data. > But I am troubled on how to make a geotiff file with geotools, I have looked > through the user guide, and only found a GeoTiffWriterTest.java is useful, > but it's not adequate for me, because it only shows how to create a geotiff > file from a GridCoverage. What I want is more concrete about how to add some > geokeys to a none-geotiff file, that is make it a geotiff file, you know > that GeoTiffReader will get an error when read a none-geotiff file, I just > want to get rid of it. > Would you please give me some suggestion on this? Thank you. > > > 在2009-06-16,"Jody Garnett" <jody.garnett@...> 写道: >>Afternoon everyone: >> >>We have been gradually putting together a front end website for the >>library (http://www.geotools.org/). The idea is to take some of the >>burden of the wiki and focus on initial impressions. >> >>To that end we have a page devoted to the use of GeoTools; and I am >>going to look for case-studies, presentations, and importantly who >>uses the library :-) >>- http://www.geotools.org/case/index.html >> >>To that end could I ask people to reply to this message (or even >>directly to me if you are shy) with your organization's name. >> >>Cheers, >>Jody Garnett >> >>Aside: I am also interested in what you are doing. >> >>------------------------------------------------------------------------------ >>Crystal Reports - New Free Runtime and 30 Day Trial >>Check out the new simplified licensing option that enables unlimited >>royalty-free distribution of the report engine for externally facing >>server and web deployment. >>http://p.sf.net/sfu/businessobjects >>_______________________________________________ >>Geotools-gt2-users mailing list >>Geotools-gt2-users@... >>https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > > ________________________________ > 网易企业邮,商务邮箱专家 |
From: Christian Müller <christian.mueller@nv...> - 2009-06-16 07:54:31
|
Hi Anniina I had the same problem some times ago 1) Prepare your pyramids using tools from http://www.gdal.org, if you have all images for each zoom level , fine 2) use gdaltindex to create shape files for each pyramid level 3) use gdal_merge, gdal_retile ... for image processing if needed After preparation, you can use geoserver to present your map, either file based or stored in a jdbc database as explained here http://docs.geoserver.org/1.7.x/user/tutorials/imagemosaic-jdbc/imagemosaic- jdbc_tutorial.html I did the jdbc approach and anything works fine. Let me know if you have problems Ala-Kitula Anniina writes: > Hi Tom, > > Thanks for your answer. Your solution sounds reasonable, but the only problem for me is that I have something like 50 different images for the most detailed zoom layer. This would mean a lot of pyramids, so I'm not sure if I want to go there... > > -Anniina > > -----Original Message----- > From: Thomas Lutz [mailto:mattom@...] > Sent: 4. kesäkuuta 2009 12:12 > To: geotools-gt2-users@... > Subject: Re: [Geotools-gt2-users] FW: Building up an image pyramid > > Hi Anniina, > > regarding your second question, I had the same setup, 5 different images > for 5 zoom layers in the pyramid. Basically I created 5 image pyramids > for each of the source images. Then I merged by putting the most > detailed layer from the less detailed source image as overview layer in > my final pyramid. Same for the second source image, again the most > detailed layer to the second layer in the final pyramid... > (http://docs.codehaus.org/display/GEOTDOC/Generating+Image+Pyramid+Guide) > Worked for me (in a JMapPane app though, no idea if geoserver likes it, > but should be no problem), just needed a lot of fiddling around with the > parameters, to get the zoom factors right.. and lots of cpu time .-). > > Hth, > Tom > > Ala-Kitula Anniina schrieb: >> >> ------------------------------------------------------------------------ >> >> *From:* Ala-Kitula Anniina >> *Sent:* 4. kesäkuuta 2009 8:03 >> *To:* 'geotools-gt2-users@...' >> *Subject:* Building up an image pyramid >> >> Hi, >> >> I'm trying to build up an image pyramid with the geoserver and have >> succeeded in building up the folder structure but it hasn't been >> possible to download this pyramid into the server. I've followed these >> instructions http://geoserver.org/display/GEOSDOC/Image+Pyramid but >> when loading the pyramid.properties to the source path there is an >> error message saying this file path is not in the desired format. Does >> anyone know if the geoserver should be able to display these pyramids >> at all? >> >> And another question: my goal is to build a map that would have map >> with different resolution on different zoom layers. I do have the map >> material, but is it possible to build this kind of structure with >> geoserver's image pyramid? I started to wonder this, because the >> example in the instruction has one big picture, which is chopped out >> and then zoomed to different levels of the image pyramid. And in my >> case, I already have several small pictures of different zoom levels >> and I would just need to place them on the right pyramid layers. >> >> I've been stuggling with this for quite a while now, so it would be >> nice if some one could help me out here J >> >> -Anniina >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------------ >> OpenSolaris 2009.06 is a cutting edge operating system for enterprises >> looking to deploy the next generation of Solaris that includes the latest >> innovations from Sun and the OpenSource community. Download a copy and >> enjoy capabilities such as Networking, Storage and Virtualization. >> Go to: http://p.sf.net/sfu/opensolaris-get >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Geotools-gt2-users mailing list >> Geotools-gt2-users@... >> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users >> > > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Geotools-gt2-users mailing list > Geotools-gt2-users@... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Geotools-gt2-users mailing list > Geotools-gt2-users@... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users |
From: Jody Garnett <jody.garnett@gm...> - 2009-06-16 06:07:23
|
Afternoon everyone: We have been gradually putting together a front end website for the library (http://www.geotools.org/). The idea is to take some of the burden of the wiki and focus on initial impressions. To that end we have a page devoted to the use of GeoTools; and I am going to look for case-studies, presentations, and importantly who uses the library :-) - http://www.geotools.org/case/index.html To that end could I ask people to reply to this message (or even directly to me if you are shy) with your organization's name. Cheers, Jody Garnett Aside: I am also interested in what you are doing. |
From: Ala-Kitula Anniina <anniina.ala-kitula@in...> - 2009-06-16 05:20:29
|
Hi Tom, Thanks for your answer. Your solution sounds reasonable, but the only problem for me is that I have something like 50 different images for the most detailed zoom layer. This would mean a lot of pyramids, so I'm not sure if I want to go there... -Anniina -----Original Message----- From: Thomas Lutz [mailto:mattom@...] Sent: 4. kesäkuuta 2009 12:12 To: geotools-gt2-users@... Subject: Re: [Geotools-gt2-users] FW: Building up an image pyramid Hi Anniina, regarding your second question, I had the same setup, 5 different images for 5 zoom layers in the pyramid. Basically I created 5 image pyramids for each of the source images. Then I merged by putting the most detailed layer from the less detailed source image as overview layer in my final pyramid. Same for the second source image, again the most detailed layer to the second layer in the final pyramid... (http://docs.codehaus.org/display/GEOTDOC/Generating+Image+Pyramid+Guide) Worked for me (in a JMapPane app though, no idea if geoserver likes it, but should be no problem), just needed a lot of fiddling around with the parameters, to get the zoom factors right.. and lots of cpu time .-). Hth, Tom Ala-Kitula Anniina schrieb: > > ------------------------------------------------------------------------ > > *From:* Ala-Kitula Anniina > *Sent:* 4. kesäkuuta 2009 8:03 > *To:* 'geotools-gt2-users@...' > *Subject:* Building up an image pyramid > > Hi, > > I'm trying to build up an image pyramid with the geoserver and have > succeeded in building up the folder structure but it hasn't been > possible to download this pyramid into the server. I've followed these > instructions http://geoserver.org/display/GEOSDOC/Image+Pyramid but > when loading the pyramid.properties to the source path there is an > error message saying this file path is not in the desired format. Does > anyone know if the geoserver should be able to display these pyramids > at all? > > And another question: my goal is to build a map that would have map > with different resolution on different zoom layers. I do have the map > material, but is it possible to build this kind of structure with > geoserver's image pyramid? I started to wonder this, because the > example in the instruction has one big picture, which is chopped out > and then zoomed to different levels of the image pyramid. And in my > case, I already have several small pictures of different zoom levels > and I would just need to place them on the right pyramid layers. > > I've been stuggling with this for quite a while now, so it would be > nice if some one could help me out here J > > -Anniina > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > ------------------------------------------------------------------------ > > _______________________________________________ > Geotools-gt2-users mailing list > Geotools-gt2-users@... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@... https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users |
From: Michael Bedward <michael.bedward@gm...> - 2009-06-16 03:48:44
|
Hi Luong, > i add the version number to 2.5.6 and instal the JAI under C:\jai-1_1_2 but > i get a build failure: > Please see my earlier reply about version numbers - they only have meaning __within__ a project. The GeoTools version number will apply to all of the GeoTools dependencies in your pom but doesn't mean anything for other dependencies from other projects or developers such as jai, jts, apache etc. > i get an error saying "generics are not supported in -source 1.3 (use > -source5 or higher to enable generics) which hi have never come accrossed > when writting java apps. What does this mean and how can i rectify this? A new maven project created with Netbeans defaults to an early version of Java. To change this: 1. right-click on your project in the Projects window 2. select 'Properties' at the bottom of the pop-up menu 3. select 'Sources' from the list in the properties dialog 4. in the 'Source / binary format' pull-down, choose 1.5 Hope this helps Michael |