Re: [Geotools-gt2-users] Is there a global equal-area projection available in GeoTools?

2010-07-16 Thread Milton Jonathan
hanks Milton Andrea Aime wrote: > Milton Jonathan ha scritto: >> Hello there Jody >> >> Unfortunately, I don't really have resources right now to study and >> implement complex projection computations, if that's what you meant.. :P >> >> Anyway, what I

Re: [Geotools-gt2-users] Is there a global equal-area projection available in GeoTools?

2010-07-14 Thread Milton Jonathan
nating one of the ones you mention? > The documentation and the use of BC Albers in examples is mostly my fault as > that is where I was working. > > Let us know how you go; I think an "AUTO" projection that used Albers Conic > would be great. > > Jody > >

[Geotools-gt2-users] Is there a global equal-area projection available in GeoTools?

2010-07-13 Thread Milton Jonathan
ttle), but more than the that I'm really not sure how this would behave for features that cross the equator. Any help appreciated! Cheers Milton -- Milton Jonathan Grupo GIS e Meio Ambiente Tecgraf/PUC-Rio Tel: +55-21-3527-2502 ---

Re: [Geotools-gt2-users] Writing data with WFSDataStore?

2010-06-03 Thread Milton Jonathan
ere trying to write to a feature type that does not exist; you cannot use WFSDataStore to create new entries in your WFS; only add or modify content already configured. And when doing so you are going to have to match what it is doing exactly. Jody On 02/06/2010, at 11:30 PM, Milton Jona

Re: [Geotools-gt2-users] FIDs for new features created in a Shapefile

2010-06-02 Thread Milton Jonathan
nd won't > be migrating udig until July. > > Jody > > On 02/06/2010, at 11:08 PM, Milton Jonathan wrote: > >> Hey Jody >> >> Thanks for the info! So it is expected that at some point in version 2.7.x >> this proposal will be implemented and the s

Re: [Geotools-gt2-users] Writing data with WFSDataStore?

2010-06-02 Thread Milton Jonathan
eems quite odd :P Milton Jody Garnett wrote: > On 02/06/2010, at 12:33 AM, Milton Jonathan wrote: > >> Hello Jody >> >> Thanks for the info (dammit, I ended up in this page: >> http://docs.codehaus.org/display/GEOTOOLS/How+to+use+a+WFS+DataStore - I >>

Re: [Geotools-gt2-users] FIDs for new features created in a Shapefile

2010-06-02 Thread Milton Jonathan
ich offer a the mapping of > FeatuerId to String > > The BatchFeatureEvents are careful to use a weak map; so that FeatureIDs are > not stored in memory unless someone is holding on to them. > > Jody > > > > On 02/06/2010, at 2:35 AM, Andrea Aime wrote: > >>

[Geotools-gt2-users] FIDs for new features created in a Shapefile

2010-06-01 Thread Milton Jonathan
t;Temporary ID: " + ids); transaction.commit(); // second print: should be real ids, but here they remain as "new0" System.out.println("Real ID: " + ids); // final try: using the ID stored in the 'newFeature' instance // this one turns out as "fid--7b0453b2_128f4

Re: [Geotools-gt2-users] Writing data with WFSDataStore?

2010-06-01 Thread Milton Jonathan
ge made note of this: > - http://docs.codehaus.org/display/GEOTDOC/WFS+Plugin > > Jody > > On 01/06/2010, at 6:42 AM, Milton Jonathan wrote: > >> Hello there >> >> I just tried out playing with WFSDataStore to try to write >> (insert/update) data to a

[Geotools-gt2-users] Writing data with WFSDataStore?

2010-05-31 Thread Milton Jonathan
Transaction.AUTO_COMMIT); SimpleFeature newFeature = featureWriter.next(); newFeature.setDefaultGeometry(geom); featureWriter.write(); featureWriter.close(); -- Milton Jonathan Grupo GIS e Mei

Re: [Geotools-gt2-users] Transparency color in RasterSymbolizers

2009-12-04 Thread Milton Jonathan
parency color, a "info.xml" file would be magically created and used afterwards? Maybe we should move this discussion to the developer's list? Thanks Milton -- Milton Jonathan Grupo GIS e Meio Ambiente Tecgraf/PUC-Rio Tel: +55-21-3527-2502 -

Re: [Geotools-gt2-users] Transparency color in RasterSymbolizers

2009-12-04 Thread Milton Jonathan
mob:+39 333 8128928 > > > http://www.geo-solutions.it > http://geo-solutions.blogspot.com/ > http://simboss.blogspot.com/ > http://www.linkedin.com/in/simonegiannecchini > > --- > > > > On Thu, Dec 3, 2009 at

Re: [Geotools-gt2-users] Transparency color in RasterSymbolizers

2009-12-03 Thread Milton Jonathan
verageReader or something of the like? Could you point me to the best reference around for image mosaics? Thanks for all Milton Andrea Aime wrote: > Milton Jonathan ha scritto: >> Hello >> >> This is probably a stupid question but.. how does one set a >> "transparenc

[Geotools-gt2-users] Transparency color in RasterSymbolizers

2009-12-03 Thread Milton Jonathan
opacity value for a specific entry in a ColorMap. However, how do I specify a ColorMapEntry whose quantity is a combination of the 3 bands? (e.g., yellow should be transparent) Thanks Milton -- Milton Jonathan Grupo GIS e Meio Ambiente Tecgraf/PUC-Rio Tel: +

Re: [Geotools-gt2-users] Hint to control decimation in ShapefileRenderer?

2009-04-09 Thread Milton Jonathan
s a little shaky, so I figured changing Decimator to act consistently was better. Cheers Milton Andrea Aime wrote: > Milton Jonathan ha scritto: >> Well, ok then. >> >> Here are then my notes on the two different workarounds to control >> decimation as things stand: >>

Re: [Geotools-gt2-users] Hint to control decimation in ShapefileRenderer?

2009-04-03 Thread Milton Jonathan
ngRenderer, I could do it and send you a patch. What do you think? Milton Andrea Aime wrote: > Milton Jonathan ha scritto: >> Hello Andrea >> >> > The closest workaround I can think of is to define a huge width/height >> > param so that no generalization is going

Re: [Geotools-gt2-users] Hint to control decimation in ShapefileRenderer?

2009-04-03 Thread Milton Jonathan
metries without instantiating a single Decimator! I am clearly missing something big.. As a sidenote, I am using shapefiles with ShapefileRenderer, don't know if that affects the decimation process. Thanks again Milton Andrea Aime wrote: > Milton Jonathan ha scritto: >> Hello list an

[Geotools-gt2-users] Hint to control decimation in ShapefileRenderer?

2009-04-02 Thread Milton Jonathan
generic hints that streaming renderer can use + other > datastores can implement). > -- Milton Jonathan Grupo GIS e Meio Ambiente Tecgraf/PUC-Rio Tel: +55-21-3527-2502 -- ___

Re: [Geotools-gt2-users] adding geoinformation to TIFF files once it is processed

2009-03-09 Thread Milton Jonathan
Hello Chetna It seems that they have implemented a WorldImageWriter to address this issue (http://jira.codehaus.org/browse/GEOT-1159) Maybe Simone can give some more info if you need it. Cheers Milton -- Milton Jonathan Grupo GIS e Meio Ambiente Tecgraf/PUC-Rio Tel: +55-21-3527-2502

Re: [Geotools-gt2-users] question from off list

2009-02-05 Thread Milton Jonathan
ng a 10KM radius at a lat/lon (WGS84) >>> using GeoTools API? >>> >>> How do I know the Lat/Lon of a Point Y - Given a Point X, Bearing pi >>> degrees and distance d kms from Point X.I have algorithms on the >>> internet but I am looking for G

Re: [Geotools-gt2-users] Geotools-gt2-users Digest, Vol 32, Issue 16

2009-01-15 Thread Milton Jonathan
e, as well as old versions such as "gt2-postgis", etc. And for each one you can check out the pom snippet, and also the available versions. Cheers Milton -- Milton Jonathan Grupo GIS e Meio Ambiente Tecgraf/PUC-Rio Tel: +55-21-3527-2502 --

Re: [Geotools-gt2-users] Rendering optimization

2008-12-09 Thread Milton Jonathan
Hello Wouter and Andrea I've just read the whole exchange of e-mails from you guys, quite interesting stuff. We've also been thinking about using different renderers depending on the kind of layer (e.g., some may be perfectly rendered with OpenGL, some may not due to unsupported styling, for inst

Re: [Geotools-gt2-users] How to use the OracleDataStore

2008-11-10 Thread Milton Jonathan
when looking for the FeatureSource?) - It seems that the geometry attributes didn't make their way to the Oracle database. When I tried to read the features back from Oracle, I had some NullPointExceptions when calling SimpleFeature.getDefaultGeometry... Thanks! Milton Andrea Aime wrote: &g

Re: [Geotools-gt2-users] How to reproject images the right way?

2008-10-31 Thread Milton Jonathan
ee what your other results show! Cheers Milton Daniele Romagnoli wrote: > Hi Milton, > I'm doing some preliminar tests with your sample data. > I have also fixed a missing import which prevented some EPSG code parsing. > > Here below, some feedbacks. > -- Milton Jona

[Geotools-gt2-users] How to use the OracleDataStore

2008-10-31 Thread Milton Jonathan
exactly why. Even stranger, calling OracleDataStore.getTypeNames() gives me back 4292 (!) type names even for an empty DataStore (4293 after the successful creation of a schema). Any ideas? Thanks for any help Milton -- Milton Jonathan Grupo GIS e Meio Ambiente Te

[Geotools-gt2-users] Which 2.5 branch is what?

2008-10-20 Thread Milton Jonathan
to one of those. So, put simply: should I work with 2.5.x? Will compiling that give me the same result as referencing the jars from 2.5-SNAPSHOT? Thanks for all and sorry for the bother ;) Milton -- Milton Jonathan Grupo GIS e Meio Ambiente Tecgraf/PUC-Rio Tel: +55-21

[Geotools-gt2-users] Strange behavior without FORCE_LONGITUDE_FIRST_AXIS_ORDER

2008-10-15 Thread Milton Jonathan
hile the second one used file GUANABARA_UTM23_SAD69.tif Thanks and best regards! Milton PS: I am using version 2.5-RC1, and the code is basically the same as listed in http://www.mail-archive.com/geotools-gt2-users@lists.sourceforge.net/msg06093.html -- Milton Jonathan Grupo GIS e Meio Ambiente Te

Re: [Geotools-gt2-users] How to reproject images the right way?

2008-10-15 Thread Milton Jonathan
TileScheduler().setParallelism(numTile); > > With the above setting I have been able to reproject the image with > these low footprint settings : > -XX:MaxDirectMemorySize=8M -Xmx16M > > Ciao, > Simone. > -- Milton Jonathan Grupo GIS e Meio Ambiente Tecgraf/PUC-Rio Tel:

[Geotools-gt2-users] How to reproject images the right way?

2008-10-07 Thread Milton Jonathan
s.DEFAULT.resample(coverage, targetCRS); GeoTiffWriter writer = new GeoTiffWriter(destFile); writer.write(coverageTransf, null); Thanks! Milton -- Milton Jonathan Grupo GIS e Meio Ambiente Tecgraf/PUC-Rio Tel: +55-21-3527-2502

Re: [Geotools-gt2-users] IndexedShapefileDataStore blowing memory when building quadtree

2008-09-24 Thread Milton Jonathan
Hello people Thanks a lot for the feedback! The "create spatial index" works fine, thanks (I guess I should've looked back at the wiki for that one, sorry). Just setting it to Boolean.FALSE or even "false" prevents the creation of the index (and the blowing up of the memory). I guess it would

Re: [Geotools-gt2-users] IndexedShapefileDataStore blowing memory when building quadtree

2008-09-24 Thread Milton Jonathan
it would be better to forget about it altogether when it's not there. Cheers, Milton Andrea Aime wrote: > Milton Jonathan ha scritto: >> Hello list >> >> We're trying to read a reasonably large shapefile (~45MB in the .shp >> file, ~30MB in the .dbf file

[Geotools-gt2-users] IndexedShapefileDataStore blowing memory when building quadtree

2008-09-23 Thread Milton Jonathan
nd up requesting a new QuadTree to be built. Is there a a more memory-friendly way to build the tree? Thanks a lot, Milton -- Milton Jonathan Grupo GIS e Meio Ambiente Tecgraf/PUC-Rio Tel: +55-21-3527-2502 - This SF.Net ema

Re: [Geotools-gt2-users] SRID problems when writing to PostGIS

2008-09-17 Thread Milton Jonathan
. > > When you copy your geometry over can you try calling setSRID( 4326 ) on > each geometry - and see if that makes a difference? It would be nice if > the DataStore did this work for you - but I doubt it is that smart. > > Jody >

Re: [Geotools-gt2-users] SRID problems when writing to PostGIS

2008-09-17 Thread Milton Jonathan
_STATS=1" Milton Jody Garnett wrote: > There may be a confusion; it depends on how you set up your PostGIS > datastore. What does table of SRID definitions in postgis say? Does it > have an entry for 4326? > Jody > > -- Milton Jonathan Grupo GIS e Meio Ambiente Tecg

[Geotools-gt2-users] How to remove a schema from a DataStore?

2008-09-16 Thread Milton Jonathan
Hello again, Another little question: once you create a schema in a DataStore (e.g., in a PostGIS database, thus creating a table), is there any way you can delete it afterwards? (maybe this is obvious, but I just didn't find anything in the DataStore class or even in the PostgisDataStore class

[Geotools-gt2-users] SRID problems when writing to PostGIS

2008-09-16 Thread Milton Jonathan
Hello list, I've tried a simple application that just reads a shapefile (with WGS84 projection) and writes it to a PostGIS data store. The result in PostGIS comes out fine, but unfortunately the projection info is lost (column entry 'srid' ends up as '-1' in table 'geometry_columns'). Thus, whe

[Geotools-gt2-users] Linkning features to external data

2008-09-04 Thread Milton Jonathan
Hello people I have a (common?) practical problem where I have spatial data (with some attributes) on one side (e.g., a shapefile, or a spatial table in a database), and a bunch of related information that's being stored somewhere else (e.g., a regular table in a database that has an FID colum

Re: [Geotools-gt2-users] Problems with CRS

2008-08-19 Thread Milton Jonathan
NonSI.DEGREE_ANGLE; Anyway, Martin, if you have any other info on how to use that hint (or anything else) to reach a more elegant and "non-intrusive" solution, it would be great! Thanks again for the support. Really appreciate it! Milton Martin Desruisseaux wrote: > Milton Jonathan a

Re: [Geotools-gt2-users] Problems with CRS

2008-08-19 Thread Milton Jonathan
Martin I was wondering now: when using DMS units, what would be the idea for representing 10°30'30'' in real databases? 10.3030? Does anybody actually store data this way?? Cheers, Milton - This SF.Net email is sponsored b

Re: [Geotools-gt2-users] Problems with CRS

2008-08-19 Thread Milton Jonathan
d try your workaround, right? I'll get back to you when I've done that. Thanks again for the almost realtime feedback! Milton Martin Desruisseaux wrote: > Milton Jonathan a écrit : >> Besides trying to read files referenced in this way, I've also made >> attempts t

[Geotools-gt2-users] Problems with CRS

2008-08-19 Thread Milton Jonathan
Hello all, I'm having some problems when reading data in certain Coordinate Reference Systems. It seems that is has to do with reference systems using the South American Datum 1969 (SAD69), which is very widely used here in Brazil. Besides trying to read files referenced in this way, I've also

[Geotools-gt2-users] Issues with User Guide examples

2008-08-14 Thread Milton Jonathan
Dear Jody and all, I'm new to GeoTools, and when going through the User Guide I found some inconsistencies that got me confused at the beginning (but great work with documentation in general, thanks!). Actually, some of these seem to be quite silly, but all together they slowed me down a little

Re: [Geotools-gt2-users] Writing world files (TFW)

2007-02-12 Thread Milton Jonathan
--- > Eng. Simone Giannecchini > > President/CEO GeoSolutions > http://www.geo-solutions.it > Via Carignoni 51 > 550141 Camaiore (LU) > Italy > Mobile: +39 333 81 28928 > --- > - Original Message - From: "Milton Jona

[Geotools-gt2-users] Writing world files (TFW)

2007-02-08 Thread Milton Jonathan
ld be a non-georeferenced TIFF file. I would thus need to read the georeference info from the input file and somehow write that to the output file. Well, that's it then. Thank you all for any input on this one, Milton Jonathan begin:vcard fn:Milton Jonathan n:Jonathan;Milton org:Embrapa S