JTS Geometry and CoordinateSequence Factories Code Example?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

JTS Geometry and CoordinateSequence Factories Code Example?

JPHespanha
Dear All,

I am about to conclude my PhD research on the development of cadastral
systems, and I have managed to complete a small implementation test on
the Eclipse platform, using a Eclipse Modelling Framework Code Generator
to get Java classes from an Ecore Model.
I have a preliminary schema generated in a PostgreSQL/PostGIS data base,
through the corresponding facility in Hibernate Tools. This part of the
work has used Hibernate-spatial in order to generate a geometry column
in the designated table.

My current research platform lies on an Ubuntu machine, with a
configuration as follows:

Eclipse v.3.5.2
EMF v.2.5.0
Hibernate Tools v.3.2.4
Hibernate-spatial v.1.0 M2
PostgreSQL v.8.3.8
PostGIS v.1.3.5

My request is for any plain (POJO) Java code examples which use the JTS
CoordinateSequence and the GeometryFactory classes, in order to specify
a Geometry object (I will use a MultiLineString in the test). In
particular, I would like to establish a PrecisionModel and a SRID other
than the default.

Although this request is about the use of JTS and not specific to uDIG
functionalities, I hope that the Eclipse + Geotools (and hence, JTS)
framework uDIG uses can get me some answers. I have put a similar post
to the Hibernate-spatial list.

I know this is a rather involved request, for most of the examples I
have seen so far simply use the WKTReader to define the Geometry in the
Java domain.

Any hints or suggestions will be greatly appreciated.

Kind Regards,
João Paulo Hespanha

_______________________________________________
udig-users mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/udig-users
Reply | Threaded
Open this post in threaded view
|

Re: JTS Geometry and CoordinateSequence Factories Code Example?

Jody Garnett-2
How did you end up on this one? There has been a lot of work on an EMF based datastore lately on the uDig and GeoTools lists that should cover the same topics?

Jody

2011/6/29 João Paulo Hespanha <[hidden email]>
Dear All,

I am about to conclude my PhD research on the development of cadastral
systems, and I have managed to complete a small implementation test on
the Eclipse platform, using a Eclipse Modelling Framework Code Generator
to get Java classes from an Ecore Model.
I have a preliminary schema generated in a PostgreSQL/PostGIS data base,
through the corresponding facility in Hibernate Tools. This part of the
work has used Hibernate-spatial in order to generate a geometry column
in the designated table.

My current research platform lies on an Ubuntu machine, with a
configuration as follows:

Eclipse v.3.5.2
EMF v.2.5.0
Hibernate Tools v.3.2.4
Hibernate-spatial v.1.0 M2
PostgreSQL v.8.3.8
PostGIS v.1.3.5

My request is for any plain (POJO) Java code examples which use the JTS
CoordinateSequence and the GeometryFactory classes, in order to specify
a Geometry object (I will use a MultiLineString in the test). In
particular, I would like to establish a PrecisionModel and a SRID other
than the default.

Although this request is about the use of JTS and not specific to uDIG
functionalities, I hope that the Eclipse + Geotools (and hence, JTS)
framework uDIG uses can get me some answers. I have put a similar post
to the Hibernate-spatial list.

I know this is a rather involved request, for most of the examples I
have seen so far simply use the WKTReader to define the Geometry in the
Java domain.

Any hints or suggestions will be greatly appreciated.

Kind Regards,
João Paulo Hespanha

_______________________________________________
udig-users mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/udig-users


_______________________________________________
udig-users mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/udig-users
Reply | Threaded
Open this post in threaded view
|

Re: JTS Geometry and CoordinateSequence Factories Code Example?

JPHespanha
Dear Jody,

Thanks for the concern. I did not finish the implementation test, giving
that I am well over the deadline for my thesis, and I am now in the
phase of wrapping up and write the final sections.

I really managed to locate a few code examples from the GeoTools
library, after I have done an instalment from sources and insert it as
an Eclipse Java Project.

My conclusion is that it is feasible to write helper classes in an
Hibernate Spatial project, which use those factories instead of the
simple examples available today. I intend to resume my research on this
area, of course, although there are a vast number of issues still to
face on my MDA modelling to implementation chain.

Kind Regards,
João Paulo Hespanha
 

Qui, 2011-09-08 às 09:51 +1000, Jody Garnett escreveu:

> How did you end up on this one? There has been a lot of work on an EMF
> based datastore lately on the uDig and GeoTools lists that should
> cover the same topics?
>
>
> Jody
>
> 2011/6/29 João Paulo Hespanha <[hidden email]>
>         Dear All,
>        
>         I am about to conclude my PhD research on the development of
>         cadastral
>         systems, and I have managed to complete a small implementation
>         test on
>         the Eclipse platform, using a Eclipse Modelling Framework Code
>         Generator
>         to get Java classes from an Ecore Model.
>         I have a preliminary schema generated in a PostgreSQL/PostGIS
>         data base,
>         through the corresponding facility in Hibernate Tools. This
>         part of the
>         work has used Hibernate-spatial in order to generate a
>         geometry column
>         in the designated table.
>        
>         My current research platform lies on an Ubuntu machine, with a
>         configuration as follows:
>        
>         Eclipse v.3.5.2
>         EMF v.2.5.0
>         Hibernate Tools v.3.2.4
>         Hibernate-spatial v.1.0 M2
>         PostgreSQL v.8.3.8
>         PostGIS v.1.3.5
>        
>         My request is for any plain (POJO) Java code examples which
>         use the JTS
>         CoordinateSequence and the GeometryFactory classes, in order
>         to specify
>         a Geometry object (I will use a MultiLineString in the test).
>         In
>         particular, I would like to establish a PrecisionModel and a
>         SRID other
>         than the default.
>        
>         Although this request is about the use of JTS and not specific
>         to uDIG
>         functionalities, I hope that the Eclipse + Geotools (and
>         hence, JTS)
>         framework uDIG uses can get me some answers. I have put a
>         similar post
>         to the Hibernate-spatial list.
>        
>         I know this is a rather involved request, for most of the
>         examples I
>         have seen so far simply use the WKTReader to define the
>         Geometry in the
>         Java domain.
>        
>         Any hints or suggestions will be greatly appreciated.
>        
>         Kind Regards,
>         João Paulo Hespanha
>        
>         _______________________________________________
>         udig-users mailing list
>         [hidden email]
>         http://lists.refractions.net/mailman/listinfo/udig-users
>
>


_______________________________________________
udig-users mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/udig-users