[Geotools-devel] our "stable" branch isnt very stable (ShapefileReadWriteTest FAILED) -- 2.2.x

2006-03-23 Thread David Blasby
I have a few patches I just did for 2.1.x - the bugs are still in 2.2.x and trunk. I'd like to move the patches forward, but I'm unable to build 2.2.x. I'm also stalled moving geoserver from 2.1.x to 2.2.x and have been for a while. I'm actually using geoserver quite a bit; this is prime te

Re: [Geotools-devel] our "stable" branch isnt very stable (ShapefileReadWriteTest FAILED) -- 2.2.x

2006-03-23 Thread David Blasby
Jody Garnett wrote: Jesse Eichar wrote: Jody said he had some people working on the problem so I haven't been looking into it. I'll see if he is still on this. Yes oliver is working on this, I hope to hear back tomorrow myself. Fraid we were stuck in a meeting all day today... On a related

[Geotools-devel] PostGIS not releasing connections on OutOfMemory

2006-03-23 Thread David Blasby
Okay, I've found a pretty nasty bug in the PostGIS driver. My dataset is a table with about 250 rows in it. Each row has the VMAP0 dataset polygon of a country in. Each row is large. If you look closely at the JDBC datastore, you'll notice that it will fetch 200 rows at a time - which means i

Re: [Geotools-devel] our "stable" branch isnt very stable (ShapefileReadWriteTest FAILED) -- 2.2.x

2006-03-24 Thread David Blasby
Thanks a lot, oliver. Changes should be commited to the 2.2.x AND trunk branches. Putting it in 2.2.x means that everyone using the stable branch gets your changes and putting it in trunk means that your changes will make it to the next stable version (and for the folks currently using trunk).

Re: [Geoserver-devel] Re: [Geotools-devel] PostGIS not releasing connections on OutOfMemory

2006-03-24 Thread David Blasby
Most of the connection pooling is actually done by the Postgresql JDBC driver, but there's a proxy object on top of it thats hard to look inside. I talked to the Postgresql JDBC mailing list and they said "oops" - it should reset the stream so its in a consistent state. Dont know when this wi

[Geotools-devel] 2.2.x and maven 2 and WorldImageWriterTest (plugin/image)

2006-03-27 Thread David Blasby
Folks told me to go to maven 2 for 2.2.x. I did, but I'm getting different errors. I have JAI installed. I verified that "com/sun/media/imageio/stream/FileChannelImageInputStream" is in "C:\j2sdk1.4.2_07\jre\lib\ext\jai_imageio.jar". Any idea whats wrong? dave -

[Geotools-devel] 2.2.x -- not building with maven 1 or maven 2 (different problems)

2006-03-28 Thread David Blasby
(I picked up yesterday's changes, but 'no go') With Maven 2, I'm getting the same missing-JAI library-like error as before in plugin/image. It builds/tests fine with Maven 1, so I'm betting this is some type of Maven 2 configuration problem. == java.lang.NoClassDefFoundError: com/sun/media/

Re: [Geotools-devel] 2.2.x -- not building with maven 1 or maven 2 (different problems)

2006-03-28 Thread David Blasby
I spent a lot of time looking at whats was going on, but that code is *extreamly* difficult to read. As far as I can tell, it looks like it has one thread reading the shapefile and another writing to it. That should *always* throw an exception as the write operation seems to replace the origi

[Geotools-devel] 2.2.x -- oracle spatial not compiling (Failed to download ojdbc-14.jar)

2006-03-28 Thread David Blasby
+ | Executing clean,jar:install geotools-oraclespatial | Memory: 34M/59M + Attempting to download ojdbc-14.jar. WARNING: Failed to download ojdbc-14.jar. BUILD FAILED I looked at the project.xml and I see:

[Geotools-devel] TransformerBase --- indentation causing problems

2006-03-28 Thread David Blasby
Cory, You added to TransformerBase.java (commit message "GEOT-806: XML Indentation fixed", line 71): if (indentation > -1) { tFactory.setAttribute("indent-number", new Integer(indentation)); } This is causing: Caused by: java.lang.IllegalArgumentException: Not supp

[Geotools-devel] 2.2.x -- now working with maven 1

2006-03-30 Thread David Blasby
I've been able to get 2.2.x working with maven 1. Still no go with maven 2. For those of you who are interested, there's a geoserver branch ("branches/1_3_0a_geotools_2_2_x") that is the current trunk of geoserver (to be 1.3.1 soonish) moved to 2.2.x. dave -

[Geotools-devel] PostGIS driver -- upgrade to newer Postgresql JDBC driver?

2006-03-31 Thread David Blasby
I've noticed a few problems with an older version of the Postgresql JDBC driver. This had to do with detecting encoding of data in the database. I've been using: http://jdbc.postgresql.org/download/postgresql-8.1-405.jdbc3.jar and have found that it works better. I'd like to suggest that w

Re: [Geotools-devel] PostGIS driver -- upgrade to newer Postgresql JDBC driver?

2006-04-03 Thread David Blasby
Martin Desruisseaux wrote: I already posted an email suggesting the same (for different reason) two weeks ago. Since I got no objection, I already upgrated the Maven 2 build on trunk to the following version: 8.1-404.jdbc3 This is 404 instead of 405 only because the 404 version was the o

Re: [Geotools-devel] 2.2.x and maven 2 and WorldImageWriterTest (plugin/image)

2006-04-03 Thread David Blasby
Martin Desruisseaux wrote: So the compilation goes well but the execution failed. Could it be that you have 2 Java installation on yours machine? Our Maven build is configured in order to fork a JVM before to run the tests, and it may happen that the JVM forked by Maven is not the same than

Re: [Geotools-devel] Moving to TOPP confluence (Geoserver and Geotools)

2006-04-03 Thread David Blasby
Paul Ramsey wrote: On 13-Mar-06, at 11:08 AM, [EMAIL PROTECTED] wrote: ps. Jody -- you put udig on its own confluence so I'd like to hear your experience. It was "as advertised". Take the backup XML file and upload, content appears. Excellent. Did you try to move over JIRA issues?

[Geotools-devel] --> null in 2.2.x, "" in 2.1.x

2006-04-04 Thread David Blasby
I noticed this change. I think this is the incorrect interpretation since there is a test in Filter. dave --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media.

[Geotools-devel] Re: --> null in 2.2.x, "" in 2.1.x (for database datastores)

2006-04-04 Thread David Blasby
David Blasby wrote: I noticed this change. I think this is the incorrect interpretation since there is a test in Filter. oops, I noticed that is interpreted as "[ interstate = null ]" which causes exceptions because the right hand side of the "=" is 'null&#x

[Geotools-devel] unable to build shapefile (again) 2.2.x

2006-04-04 Thread David Blasby
I'm unable to build shapefile using maven 1 or maven 2. Same problem as before. dave --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast

Re: [Geotools-devel] --> null in 2.2.x, "" in 2.1.x

2006-04-04 Thread David Blasby
Paul Ramsey wrote: If so, how do I represent "" in XML? Thats the problem -- in 2.2.1 meant "", now (2.2) it means "null". You can test for null with PropertyIsNull, so the 2.2 implementation is almost certainly wrong since there's no way to test for "" anymore. dave --

Re: [Geotools-devel] unable to build shapefile (again) 2.2.x

2006-04-05 Thread David Blasby
http://jira.codehaus.org/browse/GEOT-832 Jody Garnett wrote: David Blasby wrote: I'm unable to build shapefile using maven 1 or maven 2. Same problem as before. We applied a patch to close the readers ... so it must be a different problem then we fixed? Can you give Jesse a Jira n

[Geotools-devel] Getting Writers to use transactions

2006-04-05 Thread David Blasby
Jody, I modified my program so it looks like this (using a DefaultTransaction ): private void process() throws Exception { DefaultTransaction trans = new DefaultTransaction(); FeatureWriter aWriter = ds.getFeatureWriter(table_name,trans); while (aWriter.ha

[Geotools-devel] Problems with feature writing Geometry.equals(Geometry) vs Geometry.equalsExact(Geometry)

2006-04-05 Thread David Blasby
Jody, I looked more into the featurewriting stuff that we talked about last night -- here's what I found. I think there's a problem in how "Feature" implements "equals". Here's where it came up. I wrote a tiny program that updates a table in my database: /** * similiar to: * update s

Re: [Geotools-devel] unable to build shapefile (again) 2.2.x

2006-04-05 Thread David Blasby
This problem has been going for almost 2 months. I've only been able to build 2.2.x ONCE. I say we just delete the test case - this is been going on WAY too long and cost me way too much time. dave --- This SF.Net email is sponsored by x

[Geotools-devel] Re: Getting Writers to use transactions

2006-04-06 Thread David Blasby
>That is horrible, and now I need to think :-( >Ah - please reverse aWriter.close() and trans.commit(). Thats not going to do anything since I can see that its not in a transaction when its in the while() loop. IE. while its processing I can open another connection to the database and see the

[Geotools-devel] unable to use transactions with postgis datastore

2006-04-06 Thread David Blasby
Okay, this still doesnt work. I stepped through the code and the connection to postgresql is still in auto-commit mode which would explain why its not working. private void process() throws Exception { DefaultTransaction trans = new DefaultTransaction(); FeatureWriter a

[Geotools-devel] more maven 2 problems -- eclipseAll

2006-04-06 Thread David Blasby
Okay, maven 1 builds are not working at the moment for oracle spatial and maven 2 doesnt have the eclipseAll option. dave --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and m

Re: [Geotools-devel] more maven 2 problems -- eclipseAll

2006-04-06 Thread David Blasby
David Blasby wrote: Okay, maven 1 builds are not working at the moment for oracle spatial and maven 2 doesnt have the eclipseAll option. Hay - I just deleted the plugin/oraclespatial directory and now things work. This is a *great* fixing technique! dave

[Geotools-devel] Speeding up PostGIS WMS

2006-04-10 Thread David Blasby
Speeding up PostGIS WMS I found that drawing data from postgis was way too slow. I needed to be sped up to be twice as fast. I've accomplished this. Here's the changes: 1. get spatial data from postgis in base64 instead of octal This was only 2 lines difference and was definately the best

[Geotools-devel] PostGIS tests --- data not supplied in testcases (PostgisFeatureCollectionOnlineTest) + maven 2 doesnt test

2006-04-11 Thread David Blasby
The "PostgisFeatureCollectionOnlineTest" seems to assume that there is a "bc_voting_areas" dataset in the test database. The PostGIS Online Tests are supposed to auto-populate the database with the required data. This test is ONLY available via the RR postgis installation. I also noticed t

[Geotools-devel] PostgisPermissionOnlineTest -- not running local and hangs remotely

2006-04-11 Thread David Blasby
The PostgisPermissionOnlineTest doesnt work on a local database and it just hangs when it runs remotely. It appears to be accessing a "restricted" table in the database, so this looks like another "missing data" problem. There's no real comments in the test case, so I have no idea what its s

[Geotools-devel] Speeding up reading (postgis and shapefile)

2006-04-11 Thread David Blasby
Jessie, I've been optimizing the PostGIS driver, and I speeded up the reading of a set of coordinates. I use the ObjectInputStream.bytesToDoubles() NATIVE function which takes a byte[] and writes to a double[]. You can probably do the same thing with the shapefile driver. On my test of 100

[Geotools-devel] Sending Filters down to Datastore (WMS/Style)

2006-04-12 Thread David Blasby
I've upgraded the StreamingRenderer so that it smarter about sending in the datastore. Jessie did the original work, I just generalized it a bit. You can set a renderer hint "maxFiltersToSendToDatastore" (Integer) to limit the number of Filters that get sent to the datastore. The default i

[Geotools-devel] StreamingRenderer -- changes to do....

2006-04-17 Thread David Blasby
(sending this out quickly for the IRC meeting) Okay, I've been fixing up the StreamingRenderer the last little while, and here's what I think needs to be done. Most of these are just little clean-up to get rid of the evidence of a long period of people slapping stuff into it. A) The path

[Geotools-devel] bug in CompareFilterImpl

2006-04-18 Thread David Blasby
Justin, I tried to move a patch forward to CompareFilterImpl, but its changed too much on trunk. You were the one who made the changes so I'm sending the patch to you because I dont know what the new implementation does. It appears to still have the same bug if one or both of the objs are n

[Geotools-devel] renderer changes commited

2006-04-18 Thread David Blasby
Changes - NOTE: test cases are mostly turned off for "maven 2" and non-functional in "maven 1". I ran the tests in eclipse and they pass. NOTE: I had awful trouble moving my changes from 2.2.x to trunk. As I mentioned last week, I made a bunch of changes to improve performance and fi

Re: [Geotools-devel] renderer changes commited

2006-04-18 Thread David Blasby
Andrea Aime wrote: Hum I'm wondering what changes did you made. It's easy to make decimation more efficient by making it more aggressive, but a properly working decimation generates results that cannot be distinguished from not having applied decimation at all. When I coded it, I made sure

[Geotools-devel] caching hashcode calculation in Symbolizer

2006-04-18 Thread David Blasby
Jody, My plan to not generate FIDs for Rendering only had a 5% speed increase. I'm not sure why the profiler was off by so much - perhaps IO is a limiting factor. Well, the next biggest time sink seems to be calculating hashcodes for the Symbolizers (and their sub-objects). I was thinking

Re: [Geotools-devel] 'Like' filters and the default SQLEncoder

2006-04-19 Thread David Blasby
Saul, I noticed this too. I added the SQL92 like-encoder a little while ago and tested in in postgis. I dont have oracle, mysql, or SDE here to test, so I didnt add it to them. I did, however, send a message out asking folks to test and add it to the filter capabilities if it worked. I th

[Geotools-devel] Transaction woes

2006-04-20 Thread David Blasby
Jody, There's no setTransaction() method in the FeatureSource. The only way I can see to set a property for a Query operation is to convert the FeatureSource to a FeatureStore and then call setTransaction() on it. I was a bit worried about this not working because I have my server set to not

Re: [Geotools-devel] Transaction woes

2006-04-20 Thread David Blasby
>>Either way I feel like using Transaction hints to do rendering stuff is stretching the design a slight bit too far. Perhaps put hints in Query itself? Thats what I first suggested, but jody said the way to go was to put it in Transaction. But, then it affect all future Queries on that Tra

[Geotools-devel] Query w/o FIDs

2006-04-20 Thread David Blasby
Okay, I finished investigating making Queries w/o FIDs. According to the profiler, I was expecting an approximately 15-25% speed increase. The actual results were not as expected (for reading and rendering 100,000 lines - average 83 points/line in the original data, very high decimation duri

Re: [Geotools-devel] StreamingRenderer errors and Decimator

2006-04-20 Thread David Blasby
Cory Horner wrote: Hi folks, We've been getting strange errors in uDig when rendering from PostGIS (and possibly others). Everything appeared to draw correctly, but some exceptions occurred including this: Caused by: java.lang.ArrayIndexOutOfBoundsException: 1 at org.geotools.renderer.

Re: [Geotools-devel] StreamingRenderer errors and Decimator

2006-04-20 Thread David Blasby
ull? Return the zero-width box - it still has data in it. It could be doing some type of clipping... dave Cory Horner wrote: David Blasby wrote: This has happened for a long time, but now the decimation is more aggressive so it occurs more often. I havent been able to get the Geoserver WMS

[Geotools-devel] Renderer Improvements IRC in 1.5 hours

2006-05-01 Thread David Blasby
Just a reminder - jesse, martin, alessio, simone, and anyone else who's interested. http://timeanddate.com/worldclock/fixedtime.html?day=1&month=5&year=2006&hour=22&min=0&sec=0&p1=37 That 1:00pm PST. We're meeting on "freenode" #geotools. dave --

Re: [Geotools-devel] PostGIS not releasing connections on OutOfMemory

2006-05-01 Thread David Blasby
a patch for this to 8.0, 8.1, and HEAD cvs branches and new >official releases should hopefully be out soon. dave David Blasby wrote: Okay, I've found a pretty nasty bug in the PostGIS driver. My dataset is a table with about 250 rows in it. Each row has the VMAP0 dataset polygon of a

[Geotools-devel] Renderer improvements meeting part 2 (Grid Coverge Merge to Trunk)

2006-05-01 Thread David Blasby
IF YOU ARE INTERESTED IN GRID COVERAGES OR THINK GRID COVERAGE WORK WILL AFFECT YOU - PLEASE SPEAK UP NOW. We didnt have enough time to discuss all the details, so we're having another meeting next week. Also, we've been discussing merging in the Grid Coverage renderer to trunk, which could a

Re: [Geotools-devel] Maven 2 build status

2006-05-01 Thread David Blasby
Martin (and others), Thanks a lot for this update, its given me a lot of info. dave --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Do

[Geotools-devel] FM merge - when and what (wrt Grid Coverage Merge)

2006-05-01 Thread David Blasby
During the Grid Coverage/Renderer improvements IRC today, we talked about merging the grid coverage branch onto trunk. See: http://docs.codehaus.org/display/GEOTOOLS/2006/05/01/Renderer+IRC and the " Renderer improvements meeting part 2 (Grid Coverge Merge to Trunk)" message thread. I know almos

Re: [Geotools-devel] FM planning

2006-05-02 Thread David Blasby
(resending because my email was having problems) My rough idea of a project plan for the FM branch would be: - write test cases for everything up to "SimpleFeature" - port shapefile and postgis over to use SimpleFeature - slam the change onto trunk, and explore the rest of the API as aspects of

Re: [Geotools-devel] Re: Renderer improvements meeting part 2 (Grid Coverge Merge to Trunk)

2006-05-02 Thread David Blasby
(resending because my email was having problems) Martin Desruisseaux wrote: - The GO-1 module has basic classes for a new renderer with more rigourous axis support. Martin, I've heard about the GO-1 renderer, but I dont know anything about it. Could you give a few sentances on what it is?

Re: [Geotools-devel] FM IRC Tour day 1

2006-05-02 Thread David Blasby
Jody Garnett wrote: We spent the day fighting with Maven (heck it is just like normal geotools development). The goal is to get the FM branch ready for group development, rather then just one person hacking in eclipse. Thanks to those who showed up, the positive feedback on the TypeBuilder w

Re: [Geotools-devel] FM Planning

2006-05-02 Thread David Blasby
Here's a quick question for you, jody. When is udig planning on transitioning to the FM? I'm not sure if you have a enough info to answer that, but what does your gut say? dave --- Using Tomcat but need to do more? Need to support web serv

Re: [Geotools-devel] Tasks needing to be completed for 2.2.0 release

2006-05-08 Thread David Blasby
Cory Horner wrote: As mentioned in the meeting: http://docs.codehaus.org/display/GEOTOOLS/Tasks+for+2.2.0+release ...are the tasks needed to be done! Please review and edit to your liking. I think you should add "PostGIS datastore" to Milestone 3 because Geotools isnt really useful withou

Re: [Geotools-devel] Re: Renderer improvements meeting part 2 (Grid Coverge Merge to Trunk)

2006-05-09 Thread David Blasby
Martin Desruisseaux wrote: - The GO-1 module has basic classes for a new renderer with more rigourous axis support. Martin, I've heard about the GO-1 renderer, but I dont know anything about it. Could you give a few sentances on what it is? dave ---

Re: [Geotools-devel] FM planning

2006-05-09 Thread David Blasby
My rough idea of a project plan for the FM branch would be: - write test cases for everything up to "SimpleFeature" - port shapefile and postgis over to use SimpleFeature - slam the change onto trunk, and explore the rest of the API as aspects of the orphaned complex-feature branch trickle in o

[Geotools-devel] IP issue - adding LGPL and Public Domain code to geotools archive

2006-05-11 Thread David Blasby
When I modified the PostGIS driver to (a) use Base64 and (b) optimize WKB parsing, I added two file: http://svn.geotools.org/geotools/trunk/gt/plugin/postgis/src/org/geotools/data/postgis/attributeio/Base64.java http://svn.geotools.org/geotools/trunk/gt/plugin/postgis/src/org/geotools/data/postg

Re: [Geotools-devel] IP issue - adding LGPL and Public Domain code to geotools archive

2006-05-11 Thread David Blasby
I also noticed that the intersection() function at the very bottom of LabelCacheDefault.java is very similiar (but not exact) to Sun's Rectangle.intersection() function. I've replaced this function with a call to JTS's Envelope.intersection() function. I believe this happened because JTS 1.6

[Geotools-devel] possible IP issue in renderer

2006-05-16 Thread David Blasby
Jessie, As we talked about in the IRC. The intersection() function at the very bottom of the LabelCacheDefault.java should be: //djb: replaced because old one was from sun's Rectangle class private Envelope intersection(Envelope e1,Envelope e2) { Envelope r = e1.intersection(e

Re: [Geotools-devel] [Geoserver-devel] Speeding up gif/png serving

2006-08-07 Thread David Blasby
I thought about this problem before -- the main issue is that the anti-aliasing causes a lot of "extra" colours to be created. The original colour reduction algorithm was to find the first 256 colours in the image and use those colours in the colour map. This completely failed to work after antia

[Geotools-devel] geopkg issue

2020-03-10 Thread David Blasby
I'll look into the problem this afternoon. The timezone handling in sql lite is very limited and confusing. Cheers, David ___ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel

Re: [Geotools-devel] geopkg issue

2020-03-10 Thread David Blasby
nt to timestamp without time zone" > > Cheers > Andrea > > > On Tue, Mar 10, 2020 at 7:01 PM David Blasby > wrote: > >> I'll look into the problem this afternoon. >> >> The timezone handling in sql lite is very limited and confusing. >

[Geotools-devel] GeoPKG - issue with determining Geometry type (polygon vs multipolygon)

2020-05-12 Thread David Blasby
Hi, I was trying to use the Natural Earth GeoPackage (countries) - link below. However, I found the rendering was very "wrong"; [image: image.png] This triangle is actually 3 small islands - it's represented in the GeoPackage as a Multipolygon (one polygon for each island). This works fine in QG

Re: [Geotools-devel] GeoPKG - issue with determining Geometry type (polygon vs multipolygon)

2020-05-12 Thread David Blasby
Oh - I reported the issue to the Natural Earth people - https://github.com/nvkelso/natural-earth-vector/issues/343 On Tue, May 12, 2020 at 5:11 PM David Blasby wrote: > Hi, > > I was trying to use the Natural Earth GeoPackage (countries) - link below. > > However, I found the ren

Re: [Geotools-devel] GeoPKG - issue with determining Geometry type (polygon vs multipolygon)

2020-05-13 Thread David Blasby
es even when it is not needed. > -- > Jody Garnett > > > On Wed, 13 May 2020 at 00:38, Andrea Aime > wrote: > >> Goin back to the original mail >> >> On Wed, May 13, 2020 at 2:12 AM David Blasby >> wrote: >> >>> >>> >>>

[Geotools-devel] Could I get more GitHub permissions?

2024-05-28 Thread David Blasby
Hi, I've been working in the GT codebase and I'd like to have a bit more permission. I cannot re-run failed builds and I cannot ask for PR reviews. Thanks a lot, Dave ___ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.so

[Geotools-devel] [jira] Created: (GEOT-1054) Patch - Partial support for CodeList in Filter (CompareFilter and BetweenFilter)

2006-12-05 Thread david blasby (JIRA)
Issue Type: Bug Components: core filter Affects Versions: 2.2.0 Environment: all Reporter: david blasby Attachments: partial_support_for_codelists.patch Currently, there is no support for CodeList (i.e. GeoAPI enumerated values) in Filter. This patch

[Geotools-devel] [jira] Created: (GEOT-1055) Patch - Better null handing in Filter Literals

2006-12-05 Thread david blasby (JIRA)
: all Reporter: david blasby Attachments: handle_empty_strings_better.patch Currently if you have a or a ...one or more spaces... in your Filter, the Literal gets replaced with a null. This causes all sorts of problems. This patch changes the parser so that it will create

[Geotools-devel] [JIRA] (GEOT-5322) PostGISDialect is using ST_Simplify instead of ST_SimplifyPreserveTopology

2015-12-11 Thread David Blasby (JIRA)
Title: Message Title David Blasby created

[Geotools-devel] [JIRA] (GEOT-5443) NetCDF-4: Test Case's sample data file doesn't load in geoserver/geotools (likely not COARDS)

2016-06-17 Thread David Blasby (JIRA)
Title: Message Title David Blasby created