[Geotools-gt2-users] Entry needed: Pixel/Coordinate transformation

2008-10-14 Thread [EMAIL PROTECTED]
Hello, I am sorry if this is a dumb question or maybe a FAQ, but even after searching for hours, I do not get an overview of this package. I would appreciate very much, if someone could give me just an entry point to the solution of my problem. I have the following: - some x/y (pixel) position

Re: [Geotools-gt2-users] FW: help and suggestions

2008-10-14 Thread Jody Garnett
Have a look at GRASS it has some raster to vector routines; you will find that one of them has been ported into the geotools process module - but I do not know how it works yet. Jody alboury mbar fall wrote: > > > > > > >

Re: [Geotools-gt2-users] Shortest path finder

2008-10-14 Thread Jody Garnett
Hey greg; You can create directional edges; and make use of that information when navigating. You can create an edge in each direciton that can be navigated (and then just use dijkstra's as written) I seem to recall a couple of classes in there that can be used for this kind of thing ... _greg

Re: [Geotools-gt2-users] Filters and custom DataStores

2008-10-14 Thread geoman
geoman wrote: > > > I am working on a custom DataStore, and I got a little stuck - it wasn't > clear to me how to set up my data store to use filters. > > ... > I stumbled across my answer in the javadocs at http://javadoc.geotools.fr/2.5/org/geotools/data/AbstractDataStore.html#getFeatureR

Re: [Geotools-gt2-users] SLD Questions: Hot to make hachures / hatchures

2008-10-14 Thread Mauro Bartolomeoli
If you are interested, we are currently using a different approach to polygon fills with hatching. Instead of using a mark, we use an ExternalGraphic having as href a wms request to geoserver itself. As an example, this could be the content of : image/png

[Geotools-gt2-users] Filters and custom DataStores

2008-10-14 Thread geoman
I am working on a custom DataStore, and I got a little stuck - it wasn't clear to me how to set up my data store to use filters. I started with the PropertyDataStore example, but that seems to read the entire file instead of applying a filter to the data. I started with Geotools 2.5.0, and I am

Re: [Geotools-gt2-users] SLD Questions: Hot to make hachures / hatchures

2008-10-14 Thread Andrea Aime
Tobias Spaltenberger ha scritto: > Hi Andrea, > > while googling on how to make polygon fills with hatching, I found > your mail and the following page: > http://jira.codehaus.org/browse/GEOT-829. > > I was able to create hatched polygons using Geoserver 1.6.3 and the > following SLD snippet: >

Re: [Geotools-gt2-users] SLD Questions: Hot to make hachures / hatchures

2008-10-14 Thread Tobias Spaltenberger
Hi Andrea, while googling on how to make polygon fills with hatching, I found your mail and the following page: http://jira.codehaus.org/browse/GEOT-829. I was able to create hatched polygons using Geoserver 1.6.3 and the following SLD snippet:

Re: [Geotools-gt2-users] Geomatry example

2008-10-14 Thread fx5900
Hi, I have just managed to do the linestring example, just wandering, is there a class which will allow me linestring and display this visually? I don't want to use the AWT/SWING object unless there is another way, but a quick way? or can i display this on my NB Outpute Window? which would be

Re: [Geotools-gt2-users] Problem with worldToScreenTransform

2008-10-14 Thread ze.sjrp
Olá Simone! Thank you for answer me. I will try test with a newer version and the tell you again. By now, I want ask you if is my code correct? Best regards José Simone Giannecchini wrote: > > Ciao Jose', > unfortunately the version of GeoTools you are referring with is very old. > I recomme

[Geotools-gt2-users] FW: help and suggestions

2008-10-14 Thread alboury mbar fall
Hi,Jody Garnett I can display the map with openlayers with a high quality of zoom.With openlayers,I think we can't display the locations of the city of Dakar.For my application I'd like to give the user the opportunity to view the hôtels or restaurants a city, geolocation the user from t

[Geotools-gt2-users] Line sweep polygon

2008-10-14 Thread Bas Couwenberg
Hello, in my application a user can select a polygon (which represents a block of houses) which must me split up in smaller polygons (separate houses). With a line drawn across the polygon I want to divide the polygon automatically by duplicating the line several times maintaining the same directi

Re: [Geotools-gt2-users] Shortest path finder

2008-10-14 Thread _greg
Anyone, anything... please. _greg wrote: > > Hi all! > > I am starting to use geotools for my project and by now I have created > working example that returns shortest path from point A to B for a given > graph - I am using FeatureGraphGenerator. > > Now, my question is, how to create short

Re: [Geotools-gt2-users] How to iterate through Shapefile?

2008-10-14 Thread apreciado
it is a example for iterate file shapefile, it convert the multipolygon to linestring: FeatureCollection featureCollection = (FeatureCollection) figuras .get(key); Iterator it = featureCollection.ite

Re: [Geotools-gt2-users] How to creat a featuretype in Getools 2.5?

2008-10-14 Thread apreciado
It is a example: SimpleFeatureType pointType = FeatureTypes.newFeatureType( typesNew, style.getName()); SimpleFeature ptF = SimpleFeatureBuilder.build(pointType,new Object[] {point,figuraDTO.getIdentificador(), figuraDTO},null);