[JPP-Devel] Request informations about OpenJUMP Google Summer of Code 2008

2008-09-18 Thread Giuseppe Aruta
Hi all,
I would like to have some informations about the status of the OpenJUMP 
projects connected to Google Summer of Code 2008.
As far as I remember there were: 1) JTIN, 2) Port of SEXTANTE to OpenJUMP. Is 
it correct? 
Thanks in advance.

Peppe

__
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto 
spazio gratuito per i tuoi file e i messaggi 
http://mail.yahoo.it 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Request informations about OpenJUMP Google Summer of Code 2008

2008-09-18 Thread Stefan Steiniger
very short answer from Germany (i am traveling):

JTIN (i.e. Christopher) has all code checked it at the SVN... but I have 
not found the time to test it. There is no separate Extensions.. so it 
right now only accessible for programmers (and one needs Java3d classes, 
which I haven't installed yet)

I am not sure if Leandro send the code... I think he hasn't check it in 
neither.

Landon: any comment?

stefan


Giuseppe Aruta schrieb:
> Hi all,
> I would like to have some informations about the status of the OpenJUMP 
> projects connected to Google Summer of Code 2008.
> As far as I remember there were: 1) JTIN, 2) Port of SEXTANTE to OpenJUMP. Is 
> it correct? 
> Thanks in advance.
> 
> Peppe
> 
> __
> Do You Yahoo!?
> Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto 
> spazio gratuito per i tuoi file e i messaggi 
> http://mail.yahoo.it 
> 
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> 
> 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Request informations about OpenJUMP Google Summer of Code 2008

2008-09-18 Thread Nacho Uve
>   2) Port of SEXTANTE to OpenJUMP. Is it correct?


Just comment that is not a really port of SEXTANTE (it has many many
functionalities). Is just a graphical modeller for chaining geospatial
processes. I don't know the actual status of this project.

br,
Nacho


>
> Thanks in advance.
>
> Peppe
>
> __
> Do You Yahoo!?
> Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto
> spazio gratuito per i tuoi file e i messaggi
> http://mail.yahoo.it
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Request informations about OpenJUMP Google Summer of Code 2008

2008-09-18 Thread Sunburned Surveyor
The code for Christopher's JTin project is in the SVN. Christopher and
I have talked, and I believe he will stay involved with OpenJUMP even
though his summer project is completed. I hope he will do more work
with JTin, or at least hang out to answer some of my questions. :]

I also hope to do some work with JTin. Christopher and I talked about
constructing a TIN that utilizes boundaries, holes, and breaklines.
This makes the construction of the TIN a little more tricky than one
built from just points. I'm still attempting to chew on an alogrithm
or series of algorithms that can do the trick. This will be the first
task I tackle when I have time to start working with JTin.

I'm not sure if Leandro's stuff ended up in the SVN, but I seem to
remember him stating in an e-mail that he would continue his work on
the project. I copied him on this e-mail so he can tell us where he
left things.

I've been meaning to do a summary of this Summer-of-Code, and to
request feedback from those involved, but I haven't had time yet. I'll
try to do it tonight right after work.

The Sunburned Surveyor

On Thu, Sep 18, 2008 at 1:19 PM, Nacho Uve <[EMAIL PROTECTED]> wrote:
>
>>   2) Port of SEXTANTE to OpenJUMP. Is it correct?
>
>
> Just comment that is not a really port of SEXTANTE (it has many many
> functionalities). Is just a graphical modeller for chaining geospatial
> processes. I don't know the actual status of this project.
>
> br,
> Nacho
>
>>
>> Thanks in advance.
>>
>> Peppe
>>
>> __
>> Do You Yahoo!?
>> Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto
>> spazio gratuito per i tuoi file e i messaggi
>> http://mail.yahoo.it
>>
>> -
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> ___
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] Questions about GML 2

2008-09-18 Thread Sunburned Surveyor
I'm doing some work converting GPX files into "waypoint observations"
stored in GML 2. I want to be able to read the GML 2 files into
OpenJUMP. I had a couple of questions that I thought you guys could
help with:

[1] I'm trying to figure out what the "header" of a GML 2 file should
look like. I'll be buggered if I can't find a good GML 2 sample file
on the web. Is this what a GM you2 file should look like?:


   
  
 Some Attribute Value
 Some Other Attribute Value
 
   


[2] I know that OpenJUMP currently requires the use of an input
template to read GML. I was wondering if it might be possible to
automatically determine the attribute data type
(String/Date/Integer/Double) automatically based on the first
attribute values encountered in the file. This would eliminate the
need for an input template and would make it easier to import GML 2
files. Any thoughts on this?

The Sunburned Surveyor

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Questions about GML 2

2008-09-18 Thread Paul Austin
Ideally GML documents should include a schema definition using
xsi:schemaLocation but they rarely do. If they did you could use the XML
parser to find that location and then parse the schema (not an easy task)
and then map it automatically to a FeatureSchema. Again not an easy task as
GML is hierarchical and JUMP is not.

Have a look at the spec there are some examples in there.

http://www.opengeospatial.org/standards/gml

A GML document contains a single feature, which typically will be a feature
collection (feature collections are features).


http://www.opengis.net/examples";
xmlns:gml="http://www.opengis.net/gml";
xmlns:xlink="http://www.w3.org/1999/xlink";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://www.opengis.net/examples city.xsd">
Cambridge

http://www.opengis.net/gml/srs/epsg.xml#4326";>
0.00.0
100.0100.0




The river that runs through Cambridge.
Cam

http://www.opengis.net/gml/srs/epsg.xml#4326";>
050
7060
10050






M11

http://www.opengis.net/gml/srs/epsg.xml#4326";>
05.0
20.610.7
80.560.9


motorway
11


http://www.foo.net/cgi-bin/wfs?FeatureID=C10239";
gml:remoteSchema="city.xsd#xpointer(//[EMAIL PROTECTED]'RoadType'])"/>

2000-11


You'll also need to learn about namespaces

I found the JUMP templating code for GML confusing and never really had much
luck with it.

Your best bet is to find some tool to convert from GML into a simpler format

Paul

On Thu, Sep 18, 2008 at 3:57 PM, Sunburned Surveyor <
[EMAIL PROTECTED]> wrote:

> I'm doing some work converting GPX files into "waypoint observations"
> stored in GML 2. I want to be able to read the GML 2 files into
> OpenJUMP. I had a couple of questions that I thought you guys could
> help with:
>
> [1] I'm trying to figure out what the "header" of a GML 2 file should
> look like. I'll be buggered if I can't find a good GML 2 sample file
> on the web. Is this what a GM you2 file should look like?:
>
> 
>   
>  
> Some Attribute Value
> Some Other Attribute Value
> 
>   
> 
>
> [2] I know that OpenJUMP currently requires the use of an input
> template to read GML. I was wondering if it might be possible to
> automatically determine the attribute data type
> (String/Date/Integer/Double) automatically based on the first
> attribute values encountered in the file. This would eliminate the
> need for an input template and would make it easier to import GML 2
> files. Any thoughts on this?
>
> The Sunburned Surveyor
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>



-- 
Paul Austin
President/CEO
Revolution Systems Inc.

+1 (604) 288-4304 x201
www.revolsys.com
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Questions about GML 2

2008-09-18 Thread Martin Davis
I second Paul's idea about looking at the spec for examples.  You need 
more gunk than is in your example - welcome to the wonderful world of XML...

As for auto-determining input data types, there's two reasons we choose 
to provide a template containing this and other information
- if the input file is empty you still need to know the datatype in 
order to create a layer
- the template made it easier to specify exactly which elements 
contained attribute values. 

You could certainly write code that "guessed" the information contained 
in the template.  In the end internally you'd end up creating a data 
structure which contains exactly the information in the template.  We 
just didn't take the coding this one step further, due to lack of time 
and use cases. 

I agree that the template is a bit complicated - but at least it lets 
you parse a GML file.  You can probably find other tools which does this 
for you a bit more automatically (OGR maybe?).  At the time we wrote 
this code none of these were available.

Sunburned Surveyor wrote:
> I'm doing some work converting GPX files into "waypoint observations"
> stored in GML 2. I want to be able to read the GML 2 files into
> OpenJUMP. I had a couple of questions that I thought you guys could
> help with:
>
> [1] I'm trying to figure out what the "header" of a GML 2 file should
> look like. I'll be buggered if I can't find a good GML 2 sample file
> on the web. Is this what a GM you2 file should look like?:
>
> 
>
>   
>  Some Attribute Value
>  Some Other Attribute Value
>  
>
> 
>
> [2] I know that OpenJUMP currently requires the use of an input
> template to read GML. I was wondering if it might be possible to
> automatically determine the attribute data type
> (String/Date/Integer/Double) automatically based on the first
> attribute values encountered in the file. This would eliminate the
> need for an input template and would make it easier to import GML 2
> files. Any thoughts on this?
>
> The Sunburned Surveyor
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>   

-- 
Martin Davis
Senior Technical Architect
Refractions Research, Inc.
(250) 383-3022


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Questions about GML 2

2008-09-18 Thread Sunburned Surveyor
Paul wrote: "Ideally GML documents should include a schema definition
using xsi:schemaLocation but they rarely do. If they did you could use
the XML parser to find that location and then parse the schema (not an
easy task) and then map it automatically to a FeatureSchema. Again not
an easy task as GML is hierarchical and JUMP is not."

The standard XML schema is a real pain-in-the-rear, and I have no
plans on using them or parsing them. I'd using an alternative schema
language first. At any rate, I don't think I'll need schema at this
point.

Paul wrote: "Have a look at the spec there are some examples in there."

I've been reading the standard for GML 2.0. They have plenty of
examples on how to code features with geometry, features without
geometry, and just geometry. I've got a handle on this part. I was
more interested in determining if a root element existed. It doesn't
appear from the example that you provided that one does. I'll poke
around in my GML 3.0 book and on the OsGeo mailing list to see if I
can confirm this.

Paul wrote: "You'll also need to learn about namespaces."

I think my needs are more simple than this, so I will try to avoid
namespaces if I can.

Paul wrote: "I found the JUMP templating code for GML confusing and
never really had much luck with it."

I agree. Jon Aquino walked me trough the process of creating an input
template once, but it was a long time ago.

Paul wrote: "Your best bet is to find some tool to convert from GML
into a simpler format."

Perhaps. I've always thought GML 2 was an unappreciated gem. It is a
simple, human-readable, and computer-parsable format for the transfer
of simple feature data. I always thought it could have been more
successful with the correct (FOSS) tools and some better
documentation.

Thanks for your quick response Paul.

The Sunburned Surveyor

On Thu, Sep 18, 2008 at 4:06 PM, Paul Austin <[EMAIL PROTECTED]> wrote:
> Ideally GML documents should include a schema definition using
> xsi:schemaLocation but they rarely do. If they did you could use the XML
> parser to find that location and then parse the schema (not an easy task)
> and then map it automatically to a FeatureSchema. Again not an easy task as
> GML is hierarchical and JUMP is not.
>
> Have a look at the spec there are some examples in there.
>
> http://www.opengeospatial.org/standards/gml
>
> A GML document contains a single feature, which typically will be a feature
> collection (feature collections are features).
>
> 
> http://www.opengis.net/examples";
> xmlns:gml="http://www.opengis.net/gml";
> xmlns:xlink="http://www.w3.org/1999/xlink";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation="http://www.opengis.net/examples city.xsd">
> Cambridge
> 
> http://www.opengis.net/gml/srs/epsg.xml#4326";>
> 0.00.0
> 100.0100.0
> 
> 
> 
> 
> The river that runs through Cambridge.
> Cam
> 
> http://www.opengis.net/gml/srs/epsg.xml#4326";>
> 050
> 7060
> 10050
> 
> 
> 
> 
> 
> 
> M11
> 
> http://www.opengis.net/gml/srs/epsg.xml#4326";>
> 05.0
> 20.610.7
> 80.560.9
> 
> 
> motorway
> 11
> 
> 
>  xlink:href="http://www.foo.net/cgi-bin/wfs?FeatureID=C10239";
> gml:remoteSchema="city.xsd#xpointer(//[EMAIL PROTECTED]'RoadType'])"/>
> 
> 2000-11
> 
>
> You'll also need to learn about namespaces
>
> I found the JUMP templating code for GML confusing and never really had much
> luck with it.
>
> Your best bet is to find some tool to convert from GML into a simpler format
>
> Paul
>
> On Thu, Sep 18, 2008 at 3:57 PM, Sunburned Surveyor
> <[EMAIL PROTECTED]> wrote:
>>
>> I'm doing some work converting GPX files into "waypoint observations"
>> stored in GML 2. I want to be able to read the GML 2 files into
>> OpenJUMP. I had a couple of questions that I thought you guys could
>> help with:
>>
>> [1] I'm trying to figure out what the "header" of a GML 2 file should
>> look like. I'll be buggered if I can't find a good GML 2 sample file
>> on the web. Is this what a GM you2 file should look like?:
>>
>> 
>>   
>>  
>> Some Attribute Value
>> Some Other Attribute
>> Value
>> 
>>   
>> 
>>
>> [2] I know that OpenJUMP currently requires the use of an input
>> template to read GML. I was wondering if it might be possible to
>> automatically determine the attribute data type
>> (String/Date/Integer/Double) automatically based on the first
>> attribute values encountered in the file. This would eliminate the
>> need for an input template and would make it easier to import GML 2
>> files. Any thoughts on this?
>>
>> The Sunburned Surveyor
>>
>> -
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> ___

Re: [JPP-Devel] Questions about GML 2

2008-09-18 Thread Sunburned Surveyor
Martin wrote: "As for auto-determining input data types, there's two
reasons we choose
to provide a template containing this and other information
- if the input file is empty you still need to know the datatype in
order to create a layer
- the template made it easier to specify exactly which elements
contained attribute values."

Understood. I actually thought about an "empty" GML file. I think I
can throw the user a warning message and abort the file import if I
encounter this situation.

Martin wrote: "You could certainly write code that "guessed" the
information contained
in the template.  In the end internally you'd end up creating a data
structure which contains exactly the information in the template.  We
just didn't take the coding this one step further, due to lack of time
and use cases."

Understood.

Martin wrote: "I agree that the template is a bit complicated - but at
least it lets
you parse a GML file.  You can probably find other tools which does this
for you a bit more automatically (OGR maybe?).  At the time we wrote
this code none of these were available."

I don't plan on using another tool. I'm actually writing my own tool.
It looks like I have two (2) options to proceed with. I can think
about a much simpler input template. Something like this:

Attribute Name Attribute DataType
numberOfLanesinteger
surfaceType String
dateConstructed   Date

Or, I can automatically determine the attribute data type for non-empty files.

I'm actually dealing with a GML 2 file whose content I already know,
so I could write a special parser that already knows what attributes
to expect. However, I thought it might benefit others if I could
improve a more generic GML 2 parser.

Thanks for your comments Martin.

The Sunburned Surveyor

On Thu, Sep 18, 2008 at 4:24 PM, Martin Davis <[EMAIL PROTECTED]> wrote:
> I second Paul's idea about looking at the spec for examples.  You need
> more gunk than is in your example - welcome to the wonderful world of XML...
>
> As for auto-determining input data types, there's two reasons we choose
> to provide a template containing this and other information
> - if the input file is empty you still need to know the datatype in
> order to create a layer
> - the template made it easier to specify exactly which elements
> contained attribute values.
>
> You could certainly write code that "guessed" the information contained
> in the template.  In the end internally you'd end up creating a data
> structure which contains exactly the information in the template.  We
> just didn't take the coding this one step further, due to lack of time
> and use cases.
>
> I agree that the template is a bit complicated - but at least it lets
> you parse a GML file.  You can probably find other tools which does this
> for you a bit more automatically (OGR maybe?).  At the time we wrote
> this code none of these were available.
>
> Sunburned Surveyor wrote:
>> I'm doing some work converting GPX files into "waypoint observations"
>> stored in GML 2. I want to be able to read the GML 2 files into
>> OpenJUMP. I had a couple of questions that I thought you guys could
>> help with:
>>
>> [1] I'm trying to figure out what the "header" of a GML 2 file should
>> look like. I'll be buggered if I can't find a good GML 2 sample file
>> on the web. Is this what a GM you2 file should look like?:
>>
>> 
>>
>>   
>>  Some Attribute Value
>>  Some Other Attribute Value
>>  
>>
>> 
>>
>> [2] I know that OpenJUMP currently requires the use of an input
>> template to read GML. I was wondering if it might be possible to
>> automatically determine the attribute data type
>> (String/Date/Integer/Double) automatically based on the first
>> attribute values encountered in the file. This would eliminate the
>> need for an input template and would make it easier to import GML 2
>> files. Any thoughts on this?
>>
>> The Sunburned Surveyor
>>
>> -
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> ___
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
>>
>
> --
> Martin Davis
> Senior Technical Architect
> Refractions Research, Inc.
> (250) 383-3022
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner