[Geotools-gt2-users] How to draw a star line

2007-08-16 Thread 新买
Hi, I want to draw a line with graphic mark. Now I try to draw a line with star, as * * * * * * * It's more perfect that the stars can rotate with the line. How to write sld to implement it? Thanks. Inshua

[Geotools-gt2-users] Exception in creating a new shapefile.

2007-08-16 Thread 陈宇
Dear all, I am new to GeoTools and JAVA as well. I met a problem in creating a new shapefile. I have created a newFeatureCollection form origianl FeatureCollection of input shapefile, and used a iterator to print out every geometry. The result shows all right. Next, i'd like to save

[Geotools-gt2-users] Fwd: Re: SPAM: ImageMosaic vs. GeoTIFF tiling

2007-08-16 Thread Patrick Way
Hi Jody, Thanks for the kind words and information about naming the java classes. I would be interested in working with the community to improve this method of managing rasters in the PostGIS database. My motivation for developing this process was to achieve maximum performance with regards to

[Geotools-gt2-users] Intersection - Given Two Lat/Long/Bearing

2007-08-16 Thread Perry Q Hertler
This is my first post; I am very much new to the Geo world, but I am fairly well experienced OO/Java developer. I have looked through the javadocs, but it is still unclear to me exactly how to solve my problem, which is: Given lat1/long1/bearing1 and lat2/long2/bearing2, compute the lat/long

Re: [Geotools-gt2-users] Fwd: Re: SPAM: ImageMosaic vs. GeoTIFF tiling

2007-08-16 Thread Chris Holmes
I believe Martin has been working on similar things, but for NetCDF coverages. It would be great if we could collaboratively develop generic ways to let any coverage format be handled in a database. I believe he's also looking in to doing the same kind of thing with an embedded java database

Re: [Geotools-gt2-users] ImageMosaicReader and FileNotFoundException (Too many open files)

2007-08-16 Thread Simone Giannecchini
Ciao Stefan, your analysis is correct, this is indeed an issue that we have to solve within geotools. Would you mind opening up a JIRA bug for this problem so that next week I can work on it? Thanks, Simone. On 8/16/07, Stefan Krüger [EMAIL PROTECTED] wrote: Hi I am testing/playing/fighting

[Geotools-gt2-users] PIE or BAR chart thematic using geotools

2007-08-16 Thread Govardhan
Dear Sir, I want to create a Pie or Bar chart for my data,.Is it possible to do Pie or Bar chart Theme using Geotools. ? Regards Govardhan- This SF.net email is sponsored by: Splunk Inc. Still grepping through log

[Geotools-gt2-users] help:java.io.IOException: Parameter shapefile url is required

2007-08-16 Thread wen heping
i want create a shape file,below is the code: import java.io.File; import java.io.IOException; import java.util.Collections; import java.util.Map; import org.geotools.data.DataStore; import org.geotools.data.FileDataStoreFactorySpi; import

[Geotools-gt2-users] How to change Geometry and FeatureCollection

2007-08-16 Thread 陈宇
Dear all, I am new to Geotools. I am currently working on a project that can create featurecollection from a shapefile and change the geometries of the features, then I need to save the changed features to a new shapefile. But I met two problems: First, I am trying to

Re: [Geotools-gt2-users] question about using gt2-xmlcodegen

2007-08-16 Thread Yingqi Tang
Justin, when I am trying to generate the binding for owaAll.xsd schema, I got a fatal error saying that NullPointerException from org.geotools.xml.Schemas.getIncludes(Schemas.java 862) Which seems to be caused by the import tag in the owaAll schema. Do you how to solve that? Thanks, Yingqi

Re: [Geotools-gt2-users] EPSG on Server side

2007-08-16 Thread Lareina Sun
Now I created CoordinateReferenceSystem via CRSAuthorityFactory.createCoordinateReferenceSystem(String epsgCode). What if the datum has no epsg code? If I only have a datum name can I create a CoordinateReferenceSystem? I'm trying to find a way not to use EPSG code then I don't need to deal

Re: [Geotools-gt2-users] NullPointerException when use gt2-xmlcodegen to generate binding

2007-08-16 Thread Yingqi Tang
Justin, Thanks for providing the advice, and I changed the schemaSourceDirectory and schemaLookupDirectories as you suggested but I still got the same problem, in which owsAll.xsd seems to be found but NullPointerException pops up in org.geotools.xml.Schemas.getIncludes(); Attached is the full

Re: [Geotools-gt2-users] Retrieving attribute names from shape files

2007-08-16 Thread linsco
//given any yourFeature from your FeatureCollection FeatureType yourfeatureType = yourFeature.getFeatureType(); //Retrieve each attributeTypename for each column(col) inside a loop theAttributeTypename= yourfeatureType.getAttributeType(col).getName(); //--- your id for example may be at a

Re: [Geotools-gt2-users] buffer() memory leak workaround

2007-08-16 Thread Martin Davis
Hmm... I'm not aware of a memory leak, but there are situations where buffer can use up a lot of memory. I'm not optimistic that JTS 1.8 will solve this problem - there weren't any changes to buffering in that release. The union workaround makes sense. It seems funny that buffer(0) doesn't

[Geotools-gt2-users] Rule if a rectangle contains a points

2007-08-16 Thread Jeakomo
hello people, Can i use geotools also for spational reasoning? I figured that i can use rules. I created a polygon object(rectangle) and a point object and I'd like to see if i can use rules to describe this. Can I use my code and describe it as rules? Can I use the SLD-Parser for this? I'm

[Geotools-gt2-users] can't create SubFeatureList with SortBy - gt2-2.3.2

2007-08-16 Thread last.frontier
Hi, i guess i have some problem with GeoAPI interfaces..? import org.geotools.filter.FilterFactoryFinder; import org.opengis.filter.sort.SortOrder; import org.opengis.filter.sort.SortBy; SortBy stb = FilterFactoryFinder.createFilterFactory().sort(id,SortOrder.ASCENDING); SubFeatureList flst =

Re: [Geotools-gt2-users] Fwd: Re: SPAM: ImageMosaic vs. GeoTIFF tiling

2007-08-16 Thread Chris Holmes
And the main place the source lives is still at: https://seagis.svn.sourceforge.net/svnroot/seagis/trunk/postgrid/ ? Could others on this thread check it out and compare against their implementations, and perhaps we can start working together on a common implementation? Chris Vincent

Re: [Geotools-gt2-users] PIE or BAR chart thematic using geotools

2007-08-16 Thread Jody Garnett
I answered this one a couple of months ago, please check nabble for the email list history :-) The answer is not directly but the information you need to draw charts in the correct location is available. There are a couple of different approaches to consider. - get the centroid and draw the

Re: [Geotools-gt2-users] Fwd: Re: SPAM: ImageMosaic vs. GeoTIFFtiling

2007-08-16 Thread Simone Gannecchini
Ciao Vincent, I believe the postgrid project is an evolution of the old SeaGIS project, am I right? Is there a way to get access to the source code, I would love having the girls we are working together to take a look at it and hopefully extending as she likes. We should also come up with the

Re: [Geotools-gt2-users] Exception in creating a new shapefile.

2007-08-16 Thread Jody Garnett
Thanks for helping out Brian, mind if I copy your example into the wiki :-) Until I get around to breaking down a tutorial it is a great place to start. - http://docs.codehaus.org/display/GEOTDOC/05+How+to+Write+a+Shapefile Cheers, Jody Peck, Brian wrote: I was having the same trouble

[Geotools-gt2-users] How to run geoserver arcsde extension in a nightly build geoserver

2007-08-16 Thread Yingqi Tang
All, I build geoserver from nighly build source code and launch it in Eclipse by executing org.vfny.geoserver.jetty.Start from geoserver's web module. Now I want to work with geoserver arcsde extension, but couldn't find any doc o n how to do it. I checked and gt2-arcsde.jar is checked out and is

Re: [Geotools-gt2-users] Fwd: Re: SPAM: ImageMosaic vs. GeoTIFF tiling

2007-08-16 Thread Martin Desruisseaux
Chris Holmes a écrit : And the main place the source lives is still at: https://seagis.svn.sourceforge.net/svnroot/seagis/trunk/postgrid/ ? Could others on this thread check it out and compare against their implementations, and perhaps we can start working together on a common

Re: [Geotools-gt2-users] Intersection - Given Two Lat/Long/Bearing

2007-08-16 Thread Martin Desruisseaux
Perry Q Hertler a écrit : Given lat1/long1/bearing1 and lat2/long2/bearing2, compute the lat/long where they intersect. The initial lat/longs and the intersection will all be within 150 meters of each other. Given that the points are close each others, MapProjection centered on those points

Re: [Geotools-gt2-users] can't create SubFeatureList with SortBy - gt2-2.3.2

2007-08-16 Thread Jody Garnett
Reading your email a bit more carefully; org.geotools.filter.SortBy should be extending org.opengis.filter.sort.SortBy in order to prevent problems like this. If 2.4 does not handle this correctly let me know and I will fix it up before the release. Jody Hi, i guess i have some problem

Re: [Geotools-gt2-users] Fwd: Re: SPAM: ImageMosaic vs. GeoTIFFtiling

2007-08-16 Thread Martin Desruisseaux
Simone Gannecchini a écrit : I believe the postgrid project is an evolution of the old SeaGIS project, am I right? Is there a way to get access to the source code, I would love having the girls we are working together to take a look at it and hopefully extending as she likes. We should also

Re: [Geotools-gt2-users] Fwd: Re: SPAM: ImageMosaic vs. GeoTIFFtiling

2007-08-16 Thread Stefan Krüger
humor Stop abusing my topic!! Nobody gave a comment on my two questions... :-) Get yourself your own topic! ;-) /humor greets, Steve - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find

Re: [Geotools-gt2-users] Fwd: Re: SPAM: ImageMosaic vs. GeoTIFF tiling

2007-08-16 Thread Patrick Way
thanks to all for such great input with regards to this aspect of raster management. I must advise that I am behind schedule and my clients have me very busy, I wish that I had more time to contribute, I will continue to share work that I have created thus far. I would be very greatfull for a

[Geotools-gt2-users] Render a Feature to an Image

2007-08-16 Thread Iqbal Yusuf
Hi All, Is there any example, tutorial, code snippets available to walk through a process of ... 1. Read a Shape File (not needed, I already know how to do this) 2. Assign SLD 3. Render and Save into a Image File (i.e. JPEG or PNG) Thanks. -- IQBAL Yusuf

Re: [Geotools-gt2-users] [Geoserver-users] How to run geoserver arcsde extension in a nightly build geoserver

2007-08-16 Thread Justin Deoliveira
Hi Yingqi, If you want to enable the arcsde extension directly while running from source code in your ide here is what you must do: 1. add the following dependency to web.xml: dependency groupIdorg.geotools/groupId artifactIdgt2-arcsde/artifactId version${gt.version}/version

Re: [Geotools-gt2-users] Parsing GML 3 geometries with Geotools 2.4

2007-08-16 Thread Justin Deoliveira
Hi Michael, I looked into the details after looking at your data. So... here is the deal . We are able to support curves by hacking them into a JTS multi line string. Each LineSegment of the curve becomes a LineString and the curve itself is hte MultiLineString. However there is no real way to