Re: [JPP-Devel] Reading OSM files from archives

2013-08-12 Thread Stefan Steiniger
Hi Jukka, so please check with last nightly build (rev 3661+). Should work now with *.osm.bz :) At least it worked for me with the Malta file. stefan Am 12.08.13 17:33, schrieb Stefan Steiniger: > nice! > Thanks Ede, > > will do! > stefan > > Am 12.08.13 17:30, schrieb edgar.sol...@web.de: >> o

Re: [JPP-Devel] Reading OSM files from archives

2013-08-12 Thread Stefan Steiniger
nice! Thanks Ede, will do! stefan Am 12.08.13 17:30, schrieb edgar.sol...@web.de: > ok.. committed some modification to the osm plugin svn that should it enable > to deal with compressed files. it should be compatible to all supported > compressed formats now. > > Stefan: could you test and whi

Re: [JPP-Devel] CORE or PLUS promoted on SF download button?

2013-08-12 Thread edgar . soldin
On 12.08.2013 21:20, Stefan Steiniger wrote: > Hi all, > > Did we decide some time ago to stay with CORE edition as default download? > Personally I would promote PLUS. > > just wondering > we opted for CORE last time. i am neutral in this matter, like switzerland :) ..ede ---

Re: [JPP-Devel] Reading OSM files from archives

2013-08-12 Thread edgar . soldin
ok.. committed some modification to the osm plugin svn that should it enable to deal with compressed files. it should be compatible to all supported compressed formats now. Stefan: could you test and whip up a new release? as a sidenote - there are some whitespace (tabs + spaces mixed) issues i

Re: [JPP-Devel] Reading OSM files from archives

2013-08-12 Thread edgar . soldin
archive support is hacked directly into the open infrastructure. you can just follow the errorstack that occurs. but let me have a quick look. maybe i'll see what goes on there. ..ede On 12.08.2013 22:02, Stefan Steiniger wrote: > Hi Ede, Michael, Jukka > > not sure what the idea is - i.e. wh

Re: [JPP-Devel] Reading OSM files from archives

2013-08-12 Thread Stefan Steiniger
Hi Ede, Michael, Jukka not sure what the idea is - i.e. what should arrive. I also checked Michaels CSV reader but could not find anything on handling zipped/packed files. So my code looks like this: === String selFile = (String)getProperties().get(FILE_KEY); FileInputStream in = new FileInputS

Re: [JPP-Devel] Extracting features of type GeometryCollection

2013-08-12 Thread Stefan Steiniger
Hey, I just committed my changes (rev. 3656). As I needed to introduce a dialog, the plugin is now also a threaded-Ui-PlugIn and it requires to select the layer. So, please see tomorrows build. I actually added two new strings: i - org.openjump.core.ui.plugin.layer.ExtractLayersByGeometry.mix

[JPP-Devel] CORE or PLUS promoted on SF download button?

2013-08-12 Thread Stefan Steiniger
Hi all, Did we decide some time ago to stay with CORE edition as default download? Personally I would promote PLUS. just wondering stefan -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free tro

Re: [JPP-Devel] SF.net SVN: jump-pilot:[3654] core/trunk/src/language

2013-08-12 Thread Stefan Steiniger
mhm.. ok, what I see is that it changed small encoding letters to big ones. That shouldn't be a problem ;) though, we still can undo it? But then it will be cumbersome to copy the 2 new strings in each file (= lazyness wins) stefan Am 12.08.13 13:45, schrieb Stefan Steiniger: > ups.. it was no

Re: [JPP-Devel] SF.net SVN: jump-pilot:[3654] core/trunk/src/language

2013-08-12 Thread Stefan Steiniger
ups.. it was not intended. Something wrong now? The PrB-Editor did make this automagically. cheers, stefan Am 12.08.13 13:09, schrieb edgar.sol...@web.de: > stefan, > > was the complete reformatting (of unicode strings) intended? how did you > manage to do so? > > ..ede > > On 12.08.2013 18:33,

Re: [JPP-Devel] Extracting features of type GeometryCollection

2013-08-12 Thread Stefan Steiniger
Hi Jukka, I just checked the code, and it actually does handle Geometry Collections. Currently it is so smart that it does explode the GeometryCollections until either of the 4 types is found. With lots of data this is not visible to the user ;) Means, it did sort all the data in existing geom

Re: [JPP-Devel] [Jump-pilot-svn-notify] SF.net SVN: jump-pilot:[3654] core/trunk/src/language

2013-08-12 Thread edgar . soldin
stefan, was the complete reformatting (of unicode strings) intended? how did you manage to do so? ..ede On 12.08.2013 18:33, ment...@users.sourceforge.net wrote: > Revision: 3654 > http://sourceforge.net/p/jump-pilot/code/3654 > Author: mentaer > Date: 2013-08-12 16:33:02 +

Re: [JPP-Devel] Add geometry type breakdown into layer statistics output

2013-08-12 Thread Stefan Steiniger
Hi, How about writing the same text from the properties just above the table? (below # Features: ) That is probably easiest? cheers, stefan Am 12.08.13 06:28, schrieb Rahkonen Jukka: > Hi, > > Remember this thread http://thread.gmane.org/gmane.comp.gis.jump.devel/13192? > Nowadays the Laye

Re: [JPP-Devel] Extracting features of type GeometryCollection

2013-08-12 Thread Landon Blake
Jukka: Can you add a feature request on the SourceForge feature request tracker for this? Thanks. Landon On Mon, Aug 12, 2013 at 3:15 AM, Rahkonen Jukka wrote: > Hi, > > While playing with OSM driver I noticed that Extract layers by geometry > type tool creates only point, line, and polygon l

Re: [JPP-Devel] Add geometry type breakdown into layer statistics output

2013-08-12 Thread Landon Blake
Jukka: Could you add this the SourceForge feature tracker as well? Thanks. Landon On Mon, Aug 12, 2013 at 3:28 AM, Rahkonen Jukka wrote: > Hi, > > Remember this thread > http://thread.gmane.org/gmane.comp.gis.jump.devel/13192? > Nowadays the Layer properties tool (Right click on table of cont

Re: [JPP-Devel] Reading OSM files from archives

2013-08-12 Thread edgar . soldin
yeah, right it is simply bz compressed. the same error occurs when repackaging it into a zip archive. would be interesting what raw data reaches the xml parser. stefan? ..ede On 12.08.2013 16:00, Rahkonen Jukka wrote: > Hi, > > I do believe it is a bz2 compressed file but you can check it your

Re: [JPP-Devel] Reading OSM files from archives

2013-08-12 Thread Rahkonen Jukka
Hi, I do believe it is a bz2 compressed file but you can check it yourserld. File is from Geofabrik and I tried to rename this small file into malta-latest.osm.tar.bz2 http://download.geofabrik.de/europe/malta-latest.osm.bz2 The result was an error java.io.IOException: unexpected EOF with 512

Re: [JPP-Devel] Reading OSM files from archives

2013-08-12 Thread edgar . soldin
where did you get that file from? are you sure it is a bz2 compressed file and not a tar.bz2 compressed archive? you can renamer it to finland.osm.tar.bz2 and try open that. ..ede On 12.08.2013 11:03, Rahkonen Jukka wrote: > Hi, > > Could is be possible to add OSM-XML format (.osm) to those

[JPP-Devel] Add geometry type breakdown into layer statistics output

2013-08-12 Thread Rahkonen Jukka
Hi, Remember this thread http://thread.gmane.org/gmane.comp.gis.jump.devel/13192? Nowadays the Layer properties tool (Right click on table of contents - Layer properties) is showing the breakdown of how many features on a layer belong to each geometry type. It would be nice to get this same inf

[JPP-Devel] Extracting features of type GeometryCollection

2013-08-12 Thread Rahkonen Jukka
Hi, While playing with OSM driver I noticed that Extract layers by geometry type tool creates only point, line, and polygon layers but it does not handle geometry collections. I think it would be good if it did. -Jukka Rahkonen- -

[JPP-Devel] Reading OSM files from archives

2013-08-12 Thread Rahkonen Jukka
Hi, Could is be possible to add OSM-XML format (.osm) to those ones which can be opened directly from compressed archives? Osm-xml is very loose format and it is quite common to deliver is as compressed into bz2 archives. OJ now stats parsing the bz2 file but it ends immediately with this error