Re: [JPP-Devel] Source code of AdB-Toolbox

2009-03-31 Thread Stefan Steiniger
ok.. I created a new major svn folder/project called 'resources'

if you move down to /resources/otherjumps/adbtoolbox/ you should be able 
to find the sources of the adbtoolbox in the zip file

stefan

Sunburned Surveyor wrote:
> Stefan,
> 
> Uploading into a new /etc sub-directory as a zip file may be the best way to 
> go.
> 
> Landon
> 
> On Tue, Mar 31, 2009 at 11:09 AM, Stefan Steiniger  wrote:
>> Great!
>>
>> and thank you Peppe.
>>
>> I will try to look into it the next days.
>> However, if we put it directly into the svn as source - I don't know. It
>> may be a better idea to upload it as one zip file into a new /etc/
>> subdirectory - but we need to check what the ant build files do (so it
>> is not included in a build) - or to create a new major /resources/
>> directory where I could also store all the other jumps and plugins -
>> that I collected over time
>>
>> any suggestions by other developers?
>>
>> stefan
>>
>> Giuseppe Aruta schrieb:
>>> Hi
>>>
>>> Here is the source code.
>>>
>>> Peppe
>>>
>>>
>>>
>> --
>> ___
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
> 
> --
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> 
> 

--
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Interested to work for JUMP Pilotproject

2009-03-31 Thread Stefan Steiniger
good suggestion Larry

Larry Becker wrote:
> Hi Stefan,
> 
>  >I think a start could be to write a PostGIS plugin that allows
>  >incremental updating of tables.
>  >We have already one here: , but this one updates only complete tables.
> 
> I think that before incremental update would be possible, we would need 
> to enhance the JUMP Feature model with a "modified" state variable ( and 
> somehow keep it up to date).  Currently, modifications are only tracked 
> at the FeatureCollection level.
> 
> Larry
> 
> On Mon, Mar 30, 2009 at 5:24 PM, Stefan Steiniger  > wrote:
> 
> Hei Jignesh,
> 
> Thank you for the info. Until May is pretty soon... so we need to
> carefully structure the work. I think you will need about 2-3 weeks to
> get to know OpenJUMP.
> 
> So, during the next days, can you
> * subscribe to the developer mail list? - I send a copy of this email to
> the list. So people get to know you.
> * setup OpenJUMP in your programming environment, and
> * start to learn OpenJUMP/JUMP and its architecture. I.e. you could
> start with:
> ** reading the programmers manual (unfortunately it's a bit old),
> ** checking out the organization of our source-code tree, and
> ** doing the hello world example
> 
> the manual:
> http://www.vividsolutions.com/jump/bin/JUMP%20Developer%20Guide.pdf
> 
> more info on setting up OpenJUMP (in eclipse) and example code can be
> found here:
> http://www.openjump.org/wiki/show/Documentation
> ...scroll down the page to the developer documentation section
> 
> You will see, that OpenJUMP is heavily based on a plugin-system. This
> should help to develop new functionality easier.
> 
> =
> 
> While I am writing this I am not sure yet if it would be better to let
> you work on the GDBMS, Postgis and Oracle write support, or a User Help
> System. So more questions:
> 
> * Have you worked with PostGreSQL / PostGIS and Oracle Spatial before?
> Would you have access to an Oracle installation?
> I think a start could be to write a PostGIS plugin that allows
> incremental updating of tables.
> We have already one here: , but this one updates only complete tables.
> 
> * can you look into this project and tell me if that is interesting for
> you as well? : http://gdbms.sourceforge.net/
> What we would wish is to load data via GDBMS into OpenJUMP.
> 
> * It would be also good if you can have a look into this project: H2
> spatial:
>  http://geoserver.org/display/GEOS/H2+Spatial+Database
>  http://geosysin.iict.ch/irstv-trac/wiki/H2spatial/Download
> What we would need here is to load data not in-memory but to write them
> instead in the H2 database.
> 
> * If you don't like the database stuff above, then you could work on the
> help system implementation.
> 
> ==
> Probably we can't help you that much in telling you how to do these
> things. We can only give hints. And you would need to find out on your
> own how other projects integrate these tools. Especially there only
> vague ideas for a help system - but other open source gis have one too
> where we could look into.
> 
> However, if you prefer to work on small projects and not such bigger
> things I can think about such ones too (we have long bug and feature
> request list).
> 
> stefan
> 
> jignesh borisa wrote:
>  >
>  > Hello Sir,
>  >
>  > Thank you for your reply.My course name is Open Source Development We
>  > have to work on Open Source Project.It is our Class project.
>  > I can work for 10-15 hours per week.
>  > My course is already started in this semester.
>  > It will complete in May-2009.
>  > There is not any need to write project proposal as it is class
> project.
>  > yes I might need to write final report of my work.
>  > ya I have some experience with Geographic Information System and
> Databases.
>  > I have worked as Java programmer in India.Also I am also doing my
>  > curriculum projects in Java Programming.
>  > Yes I would like to work on tasks that you mentioned in your mail.
>  >
>  > Also I have seen your project.It is quite interesting to work on it.
>  >
>  > Thank you.
>  >
>  > Jignesh
>  >
>  > On Sun, Mar 29, 2009 at 9:54 PM, Stefan Steiniger
> mailto:sst...@geo.uzh.ch>
>  > >> wrote:
>  >
>  > Hei Jignesh,
>  >
>  > thank you for your interest. People that want to help
> inmproving the
>  > software are always welcome.
>  > Can you tell me more on the course? i.e.:
>  > - what would be the hours per week you would work on the project
>  > - when would the course start and finish (how many weeks?)
>  > 

Re: [JPP-Devel] Interested to work for JUMP Pilotproject

2009-03-31 Thread Sunburned Surveyor
Stefan,

Thanks for your help coordinating with Jignesh. If I can assist, let me know.

The Sunburned Surveyor

On Tue, Mar 31, 2009 at 3:02 PM, Larry Becker  wrote:
> Hi Stefan,
>
>>I think a start could be to write a PostGIS plugin that allows
>>incremental updating of tables.
>>We have already one here: , but this one updates only complete tables.
>
> I think that before incremental update would be possible, we would need to
> enhance the JUMP Feature model with a "modified" state variable ( and
> somehow keep it up to date).  Currently, modifications are only tracked at
> the FeatureCollection level.
>
> Larry
>
> On Mon, Mar 30, 2009 at 5:24 PM, Stefan Steiniger  wrote:
>>
>> Hei Jignesh,
>>
>> Thank you for the info. Until May is pretty soon... so we need to
>> carefully structure the work. I think you will need about 2-3 weeks to
>> get to know OpenJUMP.
>>
>> So, during the next days, can you
>> * subscribe to the developer mail list? - I send a copy of this email to
>> the list. So people get to know you.
>> * setup OpenJUMP in your programming environment, and
>> * start to learn OpenJUMP/JUMP and its architecture. I.e. you could
>> start with:
>> ** reading the programmers manual (unfortunately it's a bit old),
>> ** checking out the organization of our source-code tree, and
>> ** doing the hello world example
>>
>> the manual:
>> http://www.vividsolutions.com/jump/bin/JUMP%20Developer%20Guide.pdf
>>
>> more info on setting up OpenJUMP (in eclipse) and example code can be
>> found here:
>> http://www.openjump.org/wiki/show/Documentation
>> ...scroll down the page to the developer documentation section
>>
>> You will see, that OpenJUMP is heavily based on a plugin-system. This
>> should help to develop new functionality easier.
>>
>> =
>>
>> While I am writing this I am not sure yet if it would be better to let
>> you work on the GDBMS, Postgis and Oracle write support, or a User Help
>> System. So more questions:
>>
>> * Have you worked with PostGreSQL / PostGIS and Oracle Spatial before?
>> Would you have access to an Oracle installation?
>> I think a start could be to write a PostGIS plugin that allows
>> incremental updating of tables.
>> We have already one here: , but this one updates only complete tables.
>>
>> * can you look into this project and tell me if that is interesting for
>> you as well? : http://gdbms.sourceforge.net/
>> What we would wish is to load data via GDBMS into OpenJUMP.
>>
>> * It would be also good if you can have a look into this project: H2
>> spatial:
>>  http://geoserver.org/display/GEOS/H2+Spatial+Database
>>  http://geosysin.iict.ch/irstv-trac/wiki/H2spatial/Download
>> What we would need here is to load data not in-memory but to write them
>> instead in the H2 database.
>>
>> * If you don't like the database stuff above, then you could work on the
>> help system implementation.
>>
>> ==
>> Probably we can't help you that much in telling you how to do these
>> things. We can only give hints. And you would need to find out on your
>> own how other projects integrate these tools. Especially there only
>> vague ideas for a help system - but other open source gis have one too
>> where we could look into.
>>
>> However, if you prefer to work on small projects and not such bigger
>> things I can think about such ones too (we have long bug and feature
>> request list).
>>
>> stefan
>>
>> jignesh borisa wrote:
>> >
>> > Hello Sir,
>> >
>> > Thank you for your reply.My course name is Open Source Development We
>> > have to work on Open Source Project.It is our Class project.
>> > I can work for 10-15 hours per week.
>> > My course is already started in this semester.
>> > It will complete in May-2009.
>> > There is not any need to write project proposal as it is class project.
>> > yes I might need to write final report of my work.
>> > ya I have some experience with Geographic Information System and
>> > Databases.
>> > I have worked as Java programmer in India.Also I am also doing my
>> > curriculum projects in Java Programming.
>> > Yes I would like to work on tasks that you mentioned in your mail.
>> >
>> > Also I have seen your project.It is quite interesting to work on it.
>> >
>> > Thank you.
>> >
>> > Jignesh
>> >
>> > On Sun, Mar 29, 2009 at 9:54 PM, Stefan Steiniger > > > wrote:
>> >
>> >     Hei Jignesh,
>> >
>> >     thank you for your interest. People that want to help inmproving the
>> >     software are always welcome.
>> >     Can you tell me more on the course? i.e.:
>> >     - what would be the hours per week you would work on the project
>> >     - when would the course start and finish (how many weeks?)
>> >     - do you need to write a project proposal?
>> >     - do you need to write a final report on your work?
>> >     - Do you have experiences with Geographic Information Systems (our
>> >     software), Databases, Computational Geometry, spatial algorithms?
>> >     - what are 

Re: [JPP-Devel] Interested to work for JUMP Pilotproject

2009-03-31 Thread Larry Becker
Hi Stefan,

>I think a start could be to write a PostGIS plugin that allows
>incremental updating of tables.
>We have already one here: , but this one updates only complete tables.

I think that before incremental update would be possible, we would need to
enhance the JUMP Feature model with a "modified" state variable ( and
somehow keep it up to date).  Currently, modifications are only tracked at
the FeatureCollection level.

Larry

On Mon, Mar 30, 2009 at 5:24 PM, Stefan Steiniger  wrote:

> Hei Jignesh,
>
> Thank you for the info. Until May is pretty soon... so we need to
> carefully structure the work. I think you will need about 2-3 weeks to
> get to know OpenJUMP.
>
> So, during the next days, can you
> * subscribe to the developer mail list? - I send a copy of this email to
> the list. So people get to know you.
> * setup OpenJUMP in your programming environment, and
> * start to learn OpenJUMP/JUMP and its architecture. I.e. you could
> start with:
> ** reading the programmers manual (unfortunately it's a bit old),
> ** checking out the organization of our source-code tree, and
> ** doing the hello world example
>
> the manual:
> http://www.vividsolutions.com/jump/bin/JUMP%20Developer%20Guide.pdf
>
> more info on setting up OpenJUMP (in eclipse) and example code can be
> found here:
> http://www.openjump.org/wiki/show/Documentation
> ...scroll down the page to the developer documentation section
>
> You will see, that OpenJUMP is heavily based on a plugin-system. This
> should help to develop new functionality easier.
>
> =
>
> While I am writing this I am not sure yet if it would be better to let
> you work on the GDBMS, Postgis and Oracle write support, or a User Help
> System. So more questions:
>
> * Have you worked with PostGreSQL / PostGIS and Oracle Spatial before?
> Would you have access to an Oracle installation?
> I think a start could be to write a PostGIS plugin that allows
> incremental updating of tables.
> We have already one here: , but this one updates only complete tables.
>
> * can you look into this project and tell me if that is interesting for
> you as well? : http://gdbms.sourceforge.net/
> What we would wish is to load data via GDBMS into OpenJUMP.
>
> * It would be also good if you can have a look into this project: H2
> spatial:
>  http://geoserver.org/display/GEOS/H2+Spatial+Database
>  http://geosysin.iict.ch/irstv-trac/wiki/H2spatial/Download
> What we would need here is to load data not in-memory but to write them
> instead in the H2 database.
>
> * If you don't like the database stuff above, then you could work on the
> help system implementation.
>
> ==
> Probably we can't help you that much in telling you how to do these
> things. We can only give hints. And you would need to find out on your
> own how other projects integrate these tools. Especially there only
> vague ideas for a help system - but other open source gis have one too
> where we could look into.
>
> However, if you prefer to work on small projects and not such bigger
> things I can think about such ones too (we have long bug and feature
> request list).
>
> stefan
>
> jignesh borisa wrote:
> >
> > Hello Sir,
> >
> > Thank you for your reply.My course name is Open Source Development We
> > have to work on Open Source Project.It is our Class project.
> > I can work for 10-15 hours per week.
> > My course is already started in this semester.
> > It will complete in May-2009.
> > There is not any need to write project proposal as it is class project.
> > yes I might need to write final report of my work.
> > ya I have some experience with Geographic Information System and
> Databases.
> > I have worked as Java programmer in India.Also I am also doing my
> > curriculum projects in Java Programming.
> > Yes I would like to work on tasks that you mentioned in your mail.
> >
> > Also I have seen your project.It is quite interesting to work on it.
> >
> > Thank you.
> >
> > Jignesh
> >
> > On Sun, Mar 29, 2009 at 9:54 PM, Stefan Steiniger  > > wrote:
> >
> > Hei Jignesh,
> >
> > thank you for your interest. People that want to help inmproving the
> > software are always welcome.
> > Can you tell me more on the course? i.e.:
> > - what would be the hours per week you would work on the project
> > - when would the course start and finish (how many weeks?)
> > - do you need to write a project proposal?
> > - do you need to write a final report on your work?
> > - Do you have experiences with Geographic Information Systems (our
> > software), Databases, Computational Geometry, spatial algorithms?
> > - what are your experiences in Java programming? Would you be
> > willing to work on some "core" tasks that require advanced
> > programming knowledge? e.g. a couple of such topics would be: e.g.
> > i - Work on an abstract data layer and a model that allows to store
> > data in the H2 dat

Re: [JPP-Devel] Source code of AdB-Toolbox

2009-03-31 Thread Sunburned Surveyor
Stefan,

Uploading into a new /etc sub-directory as a zip file may be the best way to go.

Landon

On Tue, Mar 31, 2009 at 11:09 AM, Stefan Steiniger  wrote:
> Great!
>
> and thank you Peppe.
>
> I will try to look into it the next days.
> However, if we put it directly into the svn as source - I don't know. It
> may be a better idea to upload it as one zip file into a new /etc/
> subdirectory - but we need to check what the ant build files do (so it
> is not included in a build) - or to create a new major /resources/
> directory where I could also store all the other jumps and plugins -
> that I collected over time
>
> any suggestions by other developers?
>
> stefan
>
> Giuseppe Aruta schrieb:
>> Hi
>>
>> Here is the source code.
>>
>> Peppe
>>
>>
>>
>
> --
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>

--
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] AssertionFailedException when adding a PostGIS Layer

2009-03-31 Thread Rahkonen Jukka
Hi,

You need to query the geometry column as binary, like

select asbinary(geom), attr from my_table

-Jukka-

Nacho Uve wrote:

I've tried with 'Run database query' and now the exception is parsing WKB
types [1]. But again with all my postgis layers (polygons and linestrings).

Nacho.

[1]
com.vividsolutions.jts.io.ParseException: Unknown WKB type 48
at com.vividsolutions.jts.io.WKBReader.readGeometry(WKBReader.java:183)
at com.vividsolutions.jts.io.WKBReader.read(WKBReader.java:137)
at com.vividsolutions.jts.io.WKBReader.read(WKBReader.java:118)
at
com.vividsolutions.jump.datastore.postgis.PostgisValueConverterFactory$WKBGeometryValueConverter.getValue(PostgisValueConverterFactory.java:75)
at
com.vividsolutions.jump.datastore.postgis.PostgisResultSetConverter.getFeature(PostgisResultSetConverter.java:47)
at
com.vividsolutions.jump.datastore.postgis.PostgisFeatureInputStream.getFeature(PostgisFeatureInputStream.java:72)
at
com.vividsolutions.jump.datastore.postgis.PostgisFeatureInputStream.readNext(PostgisFeatureInputStream.java:66)
at
com.vividsolutions.jump.io.BaseFeatureInputStream.hasNext(BaseFeatureInputStream.java:38)
at
com.vividsolutions.jump.workbench.ui.plugin.datastore.RunDatastoreQueryPlugIn.createLayer(RunDatastoreQueryPlugIn.java:55)
at
com.vividsolutions.jump.workbench.ui.plugin.datastore.RunDatastoreQueryPlugIn.createLayerable(RunDatastoreQueryPlugIn.java:27)
at
com.vividsolutions.jump.workbench.ui.plugin.datastore.AbstractAddDatastoreLayerPlugIn.run(AbstractAddDatastoreLayerPlugIn.java:32)
at
com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:149)
at java.lang.Thread.run(Thread.java:619)

2009/3/31 Larry Becker 

> I don't know what everyone else has found, but I have concluded that the
> DataStore code is fundamentally flawed.  Perhaps we should remove it from
> the menu.
>
> Larry
>
>
> On Tue, Mar 31, 2009 at 11:01 AM, Rahkonen Jukka <
> jukka.rahko...@mmmtike.fi> wrote:
>
>> Hi,
>>
>> I get the same error.  However, database query in the Layer menu works
>> with the same connection and PostGIS table.
>>
>> -Jukka-
>>
>>
>> Nacho Uve wrote:
>>
>> Yes, the same error with all layers on my localhost postgis and at in the
>> office server.
>> :(
>>
>>
>>
>> 2009/3/31 Sunburned Surveyor 
>>
>> > Nacho,
>> >
>> > Do you get the same error when you load a different layer from PostGIS?
>> >
>> > The Sunburned Surveyor
>> >
>> > On Tue, Mar 31, 2009 at 6:59 AM, Nacho Uve  wrote:
>> > > Hello,
>> > >
>> > > I'm running the nightly build of OJ and I got the exception [1] when I
>> > try
>> > > to load the layer "tramos2" of my localhost postgis.
>> > > Best regards,
>> > > Nacho
>> > >
>> > >
>> > > [1]
>> > > com.vividsolutions.jts.util.AssertionFailedException: If this event is
>> > being
>> > > fired because you are constructing a Layer, cat will be null because
>> you
>> > > haven't yet added the Layer to the LayerManager. While constructing a
>> > layer,
>> > > you should set firingEvents to false. (Layerable = tramos2)
>> > > at com.vividsolutions.jts.util.Assert.isTrue(Assert.java:71)
>> > > at
>> > >
>> >
>> com.vividsolutions.jump.workbench.model.LayerManager.fireLayerChanged(LayerManager.java:446)
>> > > at
>> > >
>> >
>> com.vividsolutions.jump.workbench.model.AbstractLayerable.fireLayerChanged(AbstractLayerable.java:95)
>> > > at
>> > >
>> >
>> com.vividsolutions.jump.workbench.model.Layer.setFeatureCollectionModified(Layer.java:541)
>> > > at
>> > >
>> >
>> com.vividsolutions.jump.workbench.ui.plugin.OpenProjectPlugIn.load(OpenProjectPlugIn.java:259)
>> > > at
>> > >
>> >
>> com.vividsolutions.jump.workbench.ui.plugin.datastore.AddDatastoreLayerPlugIn.createLayer(AddDatastoreLayerPlugIn.java:47)
>> > > at
>> > >
>> >
>> com.vividsolutions.jump.workbench.ui.plugin.datastore.AddDatastoreLayerPlugIn.createLayerable(AddDatastoreLayerPlugIn.java:61)
>> > > at
>> > >
>> >
>> com.vividsolutions.jump.workbench.ui.plugin.datastore.AbstractAddDatastoreLayerPlugIn.run(AbstractAddDatastoreLayerPlugIn.java:32)
>> > > at
>> > >
>> >
>> com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:149)
>> > > at java.lang.Thread.run(Thread.java:619)
>> > >
>> > >
>> > >
>> >
>> --
>> > >
>> > > ___
>> > > Jump-pilot-devel mailing list
>> > > Jump-pilot-devel@lists.sourceforge.net
>> > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>> > >
>> > >
>> >
>> >
>> >
>> --
>> > ___
>> > Jump-pilot-devel mailing list
>> > Jump-pilot-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>> >
>>
>>
>>
>> -

Re: [JPP-Devel] Source code of AdB-Toolbox

2009-03-31 Thread Stefan Steiniger
Great!

and thank you Peppe.

I will try to look into it the next days.
However, if we put it directly into the svn as source - I don't know. It 
may be a better idea to upload it as one zip file into a new /etc/ 
subdirectory - but we need to check what the ant build files do (so it 
is not included in a build) - or to create a new major /resources/ 
directory where I could also store all the other jumps and plugins - 
that I collected over time

any suggestions by other developers?

stefan

Giuseppe Aruta schrieb:
> Hi
> 
> Here is the source code. 
> 
> Peppe
> 
> 
>   

--
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] AssertionFailedException when adding a PostGIS Layer

2009-03-31 Thread Nacho Uve
I've tried with 'Run database query' and now the exception is parsing WKB
types [1]. But again with all my postgis layers (polygons and linestrings).

Nacho.

[1]
com.vividsolutions.jts.io.ParseException: Unknown WKB type 48
at com.vividsolutions.jts.io.WKBReader.readGeometry(WKBReader.java:183)
at com.vividsolutions.jts.io.WKBReader.read(WKBReader.java:137)
at com.vividsolutions.jts.io.WKBReader.read(WKBReader.java:118)
at
com.vividsolutions.jump.datastore.postgis.PostgisValueConverterFactory$WKBGeometryValueConverter.getValue(PostgisValueConverterFactory.java:75)
at
com.vividsolutions.jump.datastore.postgis.PostgisResultSetConverter.getFeature(PostgisResultSetConverter.java:47)
at
com.vividsolutions.jump.datastore.postgis.PostgisFeatureInputStream.getFeature(PostgisFeatureInputStream.java:72)
at
com.vividsolutions.jump.datastore.postgis.PostgisFeatureInputStream.readNext(PostgisFeatureInputStream.java:66)
at
com.vividsolutions.jump.io.BaseFeatureInputStream.hasNext(BaseFeatureInputStream.java:38)
at
com.vividsolutions.jump.workbench.ui.plugin.datastore.RunDatastoreQueryPlugIn.createLayer(RunDatastoreQueryPlugIn.java:55)
at
com.vividsolutions.jump.workbench.ui.plugin.datastore.RunDatastoreQueryPlugIn.createLayerable(RunDatastoreQueryPlugIn.java:27)
at
com.vividsolutions.jump.workbench.ui.plugin.datastore.AbstractAddDatastoreLayerPlugIn.run(AbstractAddDatastoreLayerPlugIn.java:32)
at
com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:149)
at java.lang.Thread.run(Thread.java:619)

2009/3/31 Larry Becker 

> I don't know what everyone else has found, but I have concluded that the
> DataStore code is fundamentally flawed.  Perhaps we should remove it from
> the menu.
>
> Larry
>
>
> On Tue, Mar 31, 2009 at 11:01 AM, Rahkonen Jukka <
> jukka.rahko...@mmmtike.fi> wrote:
>
>> Hi,
>>
>> I get the same error.  However, database query in the Layer menu works
>> with the same connection and PostGIS table.
>>
>> -Jukka-
>>
>>
>> Nacho Uve wrote:
>>
>> Yes, the same error with all layers on my localhost postgis and at in the
>> office server.
>> :(
>>
>>
>>
>> 2009/3/31 Sunburned Surveyor 
>>
>> > Nacho,
>> >
>> > Do you get the same error when you load a different layer from PostGIS?
>> >
>> > The Sunburned Surveyor
>> >
>> > On Tue, Mar 31, 2009 at 6:59 AM, Nacho Uve  wrote:
>> > > Hello,
>> > >
>> > > I'm running the nightly build of OJ and I got the exception [1] when I
>> > try
>> > > to load the layer "tramos2" of my localhost postgis.
>> > > Best regards,
>> > > Nacho
>> > >
>> > >
>> > > [1]
>> > > com.vividsolutions.jts.util.AssertionFailedException: If this event is
>> > being
>> > > fired because you are constructing a Layer, cat will be null because
>> you
>> > > haven't yet added the Layer to the LayerManager. While constructing a
>> > layer,
>> > > you should set firingEvents to false. (Layerable = tramos2)
>> > > at com.vividsolutions.jts.util.Assert.isTrue(Assert.java:71)
>> > > at
>> > >
>> >
>> com.vividsolutions.jump.workbench.model.LayerManager.fireLayerChanged(LayerManager.java:446)
>> > > at
>> > >
>> >
>> com.vividsolutions.jump.workbench.model.AbstractLayerable.fireLayerChanged(AbstractLayerable.java:95)
>> > > at
>> > >
>> >
>> com.vividsolutions.jump.workbench.model.Layer.setFeatureCollectionModified(Layer.java:541)
>> > > at
>> > >
>> >
>> com.vividsolutions.jump.workbench.ui.plugin.OpenProjectPlugIn.load(OpenProjectPlugIn.java:259)
>> > > at
>> > >
>> >
>> com.vividsolutions.jump.workbench.ui.plugin.datastore.AddDatastoreLayerPlugIn.createLayer(AddDatastoreLayerPlugIn.java:47)
>> > > at
>> > >
>> >
>> com.vividsolutions.jump.workbench.ui.plugin.datastore.AddDatastoreLayerPlugIn.createLayerable(AddDatastoreLayerPlugIn.java:61)
>> > > at
>> > >
>> >
>> com.vividsolutions.jump.workbench.ui.plugin.datastore.AbstractAddDatastoreLayerPlugIn.run(AbstractAddDatastoreLayerPlugIn.java:32)
>> > > at
>> > >
>> >
>> com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:149)
>> > > at java.lang.Thread.run(Thread.java:619)
>> > >
>> > >
>> > >
>> >
>> --
>> > >
>> > > ___
>> > > Jump-pilot-devel mailing list
>> > > Jump-pilot-devel@lists.sourceforge.net
>> > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>> > >
>> > >
>> >
>> >
>> >
>> --
>> > ___
>> > Jump-pilot-devel mailing list
>> > Jump-pilot-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>> >
>>
>>
>>
>> --
>> ___
>> Jump-pilot-devel mailing list

Re: [JPP-Devel] AssertionFailedException when adding a PostGIS Layer

2009-03-31 Thread Larry Becker
I don't know what everyone else has found, but I have concluded that the
DataStore code is fundamentally flawed.  Perhaps we should remove it from
the menu.

Larry

On Tue, Mar 31, 2009 at 11:01 AM, Rahkonen Jukka
wrote:

> Hi,
>
> I get the same error.  However, database query in the Layer menu works with
> the same connection and PostGIS table.
>
> -Jukka-
>
>
> Nacho Uve wrote:
>
> Yes, the same error with all layers on my localhost postgis and at in the
> office server.
> :(
>
>
>
> 2009/3/31 Sunburned Surveyor 
>
> > Nacho,
> >
> > Do you get the same error when you load a different layer from PostGIS?
> >
> > The Sunburned Surveyor
> >
> > On Tue, Mar 31, 2009 at 6:59 AM, Nacho Uve  wrote:
> > > Hello,
> > >
> > > I'm running the nightly build of OJ and I got the exception [1] when I
> > try
> > > to load the layer "tramos2" of my localhost postgis.
> > > Best regards,
> > > Nacho
> > >
> > >
> > > [1]
> > > com.vividsolutions.jts.util.AssertionFailedException: If this event is
> > being
> > > fired because you are constructing a Layer, cat will be null because
> you
> > > haven't yet added the Layer to the LayerManager. While constructing a
> > layer,
> > > you should set firingEvents to false. (Layerable = tramos2)
> > > at com.vividsolutions.jts.util.Assert.isTrue(Assert.java:71)
> > > at
> > >
> >
> com.vividsolutions.jump.workbench.model.LayerManager.fireLayerChanged(LayerManager.java:446)
> > > at
> > >
> >
> com.vividsolutions.jump.workbench.model.AbstractLayerable.fireLayerChanged(AbstractLayerable.java:95)
> > > at
> > >
> >
> com.vividsolutions.jump.workbench.model.Layer.setFeatureCollectionModified(Layer.java:541)
> > > at
> > >
> >
> com.vividsolutions.jump.workbench.ui.plugin.OpenProjectPlugIn.load(OpenProjectPlugIn.java:259)
> > > at
> > >
> >
> com.vividsolutions.jump.workbench.ui.plugin.datastore.AddDatastoreLayerPlugIn.createLayer(AddDatastoreLayerPlugIn.java:47)
> > > at
> > >
> >
> com.vividsolutions.jump.workbench.ui.plugin.datastore.AddDatastoreLayerPlugIn.createLayerable(AddDatastoreLayerPlugIn.java:61)
> > > at
> > >
> >
> com.vividsolutions.jump.workbench.ui.plugin.datastore.AbstractAddDatastoreLayerPlugIn.run(AbstractAddDatastoreLayerPlugIn.java:32)
> > > at
> > >
> >
> com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:149)
> > > at java.lang.Thread.run(Thread.java:619)
> > >
> > >
> > >
> >
> --
> > >
> > > ___
> > > Jump-pilot-devel mailing list
> > > Jump-pilot-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> > >
> > >
> >
> >
> >
> --
> > ___
> > Jump-pilot-devel mailing list
> > Jump-pilot-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >
>
>
>
> --
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>



-- 
http://amusingprogrammer.blogspot.com/
--
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] plugin internationalization

2009-03-31 Thread Larry Becker
Hi Edgar,

  I modified your converter to do batch in SkyJUMP a while ago where it is a
standard PlugIn.  You can take a look at the changes I made at:

http://skyjump.cvs.sourceforge.net/viewvc/skyjump/skyjump/de/soldin/gt2jump/geomconv/

Internationalization would be nice.  I think it should be a standard part of
OJ too!

regards,
Larry

On Tue, Mar 31, 2009 at 10:10 AM,  wrote:

> Hi all,
>
> just found some time (laying around lazily) and set up OJ from svn and
> my old extensions
> To get warm with it I am gonna update geometry conversion tool. To keep
> it simple for now.
>
> I want to internationalize it and add support for batch (multiple
> geometries selected) conversion. This came up a while ago.
>
> As I am new to internationalization topic I just want to know if there
> is some documentation about how to do it. Implementing, and translating
> the strings later .. the whole process. Or is there a good example in
> the code somewhere?
>
> Thanks a lot .. Ede
>
>
> --
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>



-- 
http://amusingprogrammer.blogspot.com/
--
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] AssertionFailedException when adding a PostGIS Layer

2009-03-31 Thread Rahkonen Jukka
Hi,

I get the same error.  However, database query in the Layer menu works with the 
same connection and PostGIS table.

-Jukka-


Nacho Uve wrote:

Yes, the same error with all layers on my localhost postgis and at in the
office server.
:(



2009/3/31 Sunburned Surveyor 

> Nacho,
>
> Do you get the same error when you load a different layer from PostGIS?
>
> The Sunburned Surveyor
>
> On Tue, Mar 31, 2009 at 6:59 AM, Nacho Uve  wrote:
> > Hello,
> >
> > I'm running the nightly build of OJ and I got the exception [1] when I
> try
> > to load the layer "tramos2" of my localhost postgis.
> > Best regards,
> > Nacho
> >
> >
> > [1]
> > com.vividsolutions.jts.util.AssertionFailedException: If this event is
> being
> > fired because you are constructing a Layer, cat will be null because you
> > haven't yet added the Layer to the LayerManager. While constructing a
> layer,
> > you should set firingEvents to false. (Layerable = tramos2)
> > at com.vividsolutions.jts.util.Assert.isTrue(Assert.java:71)
> > at
> >
> com.vividsolutions.jump.workbench.model.LayerManager.fireLayerChanged(LayerManager.java:446)
> > at
> >
> com.vividsolutions.jump.workbench.model.AbstractLayerable.fireLayerChanged(AbstractLayerable.java:95)
> > at
> >
> com.vividsolutions.jump.workbench.model.Layer.setFeatureCollectionModified(Layer.java:541)
> > at
> >
> com.vividsolutions.jump.workbench.ui.plugin.OpenProjectPlugIn.load(OpenProjectPlugIn.java:259)
> > at
> >
> com.vividsolutions.jump.workbench.ui.plugin.datastore.AddDatastoreLayerPlugIn.createLayer(AddDatastoreLayerPlugIn.java:47)
> > at
> >
> com.vividsolutions.jump.workbench.ui.plugin.datastore.AddDatastoreLayerPlugIn.createLayerable(AddDatastoreLayerPlugIn.java:61)
> > at
> >
> com.vividsolutions.jump.workbench.ui.plugin.datastore.AbstractAddDatastoreLayerPlugIn.run(AbstractAddDatastoreLayerPlugIn.java:32)
> > at
> >
> com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:149)
> > at java.lang.Thread.run(Thread.java:619)
> >
> >
> >
> --
> >
> > ___
> > Jump-pilot-devel mailing list
> > Jump-pilot-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >
> >
>
>
> --
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>


--
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] plugin internationalization

2009-03-31 Thread edgar . soldin
Hi all,

just found some time (laying around lazily) and set up OJ from svn and 
my old extensions
To get warm with it I am gonna update geometry conversion tool. To keep 
it simple for now.

I want to internationalize it and add support for batch (multiple 
geometries selected) conversion. This came up a while ago.

As I am new to internationalization topic I just want to know if there 
is some documentation about how to do it. Implementing, and translating 
the strings later .. the whole process. Or is there a good example in 
the code somewhere?

Thanks a lot .. Ede

--
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] AssertionFailedException when adding a PostGIS Layer

2009-03-31 Thread Nacho Uve
Yes, the same error with all layers on my localhost postgis and at in the
office server.
:(



2009/3/31 Sunburned Surveyor 

> Nacho,
>
> Do you get the same error when you load a different layer from PostGIS?
>
> The Sunburned Surveyor
>
> On Tue, Mar 31, 2009 at 6:59 AM, Nacho Uve  wrote:
> > Hello,
> >
> > I'm running the nightly build of OJ and I got the exception [1] when I
> try
> > to load the layer "tramos2" of my localhost postgis.
> > Best regards,
> > Nacho
> >
> >
> > [1]
> > com.vividsolutions.jts.util.AssertionFailedException: If this event is
> being
> > fired because you are constructing a Layer, cat will be null because you
> > haven't yet added the Layer to the LayerManager. While constructing a
> layer,
> > you should set firingEvents to false. (Layerable = tramos2)
> > at com.vividsolutions.jts.util.Assert.isTrue(Assert.java:71)
> > at
> >
> com.vividsolutions.jump.workbench.model.LayerManager.fireLayerChanged(LayerManager.java:446)
> > at
> >
> com.vividsolutions.jump.workbench.model.AbstractLayerable.fireLayerChanged(AbstractLayerable.java:95)
> > at
> >
> com.vividsolutions.jump.workbench.model.Layer.setFeatureCollectionModified(Layer.java:541)
> > at
> >
> com.vividsolutions.jump.workbench.ui.plugin.OpenProjectPlugIn.load(OpenProjectPlugIn.java:259)
> > at
> >
> com.vividsolutions.jump.workbench.ui.plugin.datastore.AddDatastoreLayerPlugIn.createLayer(AddDatastoreLayerPlugIn.java:47)
> > at
> >
> com.vividsolutions.jump.workbench.ui.plugin.datastore.AddDatastoreLayerPlugIn.createLayerable(AddDatastoreLayerPlugIn.java:61)
> > at
> >
> com.vividsolutions.jump.workbench.ui.plugin.datastore.AbstractAddDatastoreLayerPlugIn.run(AbstractAddDatastoreLayerPlugIn.java:32)
> > at
> >
> com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:149)
> > at java.lang.Thread.run(Thread.java:619)
> >
> >
> >
> --
> >
> > ___
> > Jump-pilot-devel mailing list
> > Jump-pilot-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >
> >
>
>
> --
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
--
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] AssertionFailedException when adding a PostGIS Layer

2009-03-31 Thread Sunburned Surveyor
Nacho,

Do you get the same error when you load a different layer from PostGIS?

The Sunburned Surveyor

On Tue, Mar 31, 2009 at 6:59 AM, Nacho Uve  wrote:
> Hello,
>
> I'm running the nightly build of OJ and I got the exception [1] when I try
> to load the layer "tramos2" of my localhost postgis.
> Best regards,
> Nacho
>
>
> [1]
> com.vividsolutions.jts.util.AssertionFailedException: If this event is being
> fired because you are constructing a Layer, cat will be null because you
> haven't yet added the Layer to the LayerManager. While constructing a layer,
> you should set firingEvents to false. (Layerable = tramos2)
>     at com.vividsolutions.jts.util.Assert.isTrue(Assert.java:71)
>     at
> com.vividsolutions.jump.workbench.model.LayerManager.fireLayerChanged(LayerManager.java:446)
>     at
> com.vividsolutions.jump.workbench.model.AbstractLayerable.fireLayerChanged(AbstractLayerable.java:95)
>     at
> com.vividsolutions.jump.workbench.model.Layer.setFeatureCollectionModified(Layer.java:541)
>     at
> com.vividsolutions.jump.workbench.ui.plugin.OpenProjectPlugIn.load(OpenProjectPlugIn.java:259)
>     at
> com.vividsolutions.jump.workbench.ui.plugin.datastore.AddDatastoreLayerPlugIn.createLayer(AddDatastoreLayerPlugIn.java:47)
>     at
> com.vividsolutions.jump.workbench.ui.plugin.datastore.AddDatastoreLayerPlugIn.createLayerable(AddDatastoreLayerPlugIn.java:61)
>     at
> com.vividsolutions.jump.workbench.ui.plugin.datastore.AbstractAddDatastoreLayerPlugIn.run(AbstractAddDatastoreLayerPlugIn.java:32)
>     at
> com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:149)
>     at java.lang.Thread.run(Thread.java:619)
>
>
> --
>
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>

--
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] AssertionFailedException when adding a PostGIS Layer

2009-03-31 Thread Nacho Uve
Hello,

I'm running the nightly build of OJ and I got the exception [1] when I try
to load the layer "tramos2" of my localhost postgis.
Best regards,
Nacho


[1]
com.vividsolutions.jts.util.AssertionFailedException: If this event is being
fired because you are constructing a Layer, cat will be null because you
haven't yet added the Layer to the LayerManager. While constructing a layer,
you should set firingEvents to false. (Layerable = tramos2)
at com.vividsolutions.jts.util.Assert.isTrue(Assert.java:71)
at
com.vividsolutions.jump.workbench.model.LayerManager.fireLayerChanged(LayerManager.java:446)
at
com.vividsolutions.jump.workbench.model.AbstractLayerable.fireLayerChanged(AbstractLayerable.java:95)
at
com.vividsolutions.jump.workbench.model.Layer.setFeatureCollectionModified(Layer.java:541)
at
com.vividsolutions.jump.workbench.ui.plugin.OpenProjectPlugIn.load(OpenProjectPlugIn.java:259)
at
com.vividsolutions.jump.workbench.ui.plugin.datastore.AddDatastoreLayerPlugIn.createLayer(AddDatastoreLayerPlugIn.java:47)
at
com.vividsolutions.jump.workbench.ui.plugin.datastore.AddDatastoreLayerPlugIn.createLayerable(AddDatastoreLayerPlugIn.java:61)
at
com.vividsolutions.jump.workbench.ui.plugin.datastore.AbstractAddDatastoreLayerPlugIn.run(AbstractAddDatastoreLayerPlugIn.java:32)
at
com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:149)
at java.lang.Thread.run(Thread.java:619)
--
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel