[postgis-users] Auto Complete

Nicolas Ribot nicky666 at gmail.com
Tue Apr 1 10:33:12 PDT 2008


> Sure!
>
>  Imagine that you have a polygon already drawn in your screen. You need
>  to make another polygon that doesnt overlap the older one, but has one
>  of the edges coincident.
>
>  Let me find a screenshot of the tool. See pngs attached.
>
>  Thanks for your attention
>

We developed a Java applet to do that, some time ago, it is called
Kaboum (originally an interface to mapserver)
Coupled with KaboumServer, a Java Servlet, you can edit features
thanks to geotools and JTS. (postgis, shapefile, oracle, ... all
supported read/write geotools datasources (theoritically).

Picture 1: the polygon at the bottom should be completed to fit the
neighbour polygon (background image is generated by mapserver, edited
polygons are displayed in red)

Picture 2: After having selected the tool "polygon completion +
fitting", the polygon to complete is selected, then its new shape is
drawn, overlaping largely on other polygons.

Picture 3: after validation, the clipping is performed and edited
polygons fits perfectly surrounding polygons.

Picture 4: the topologic operation is performed, validated on the
server: the new polygon is displayed (and saved in its datasource,
postgis in this case)

Kaboum can also create points; polygons, lines, fill holes, merge
polygons, cut parts, etc.

SVN code is available at geojava.camptocamp.net/trac/geojava (freshly
installed server, without much information regarding the 3 hosted
projects, currently).

I can give you further explanation on how to setup kaboum if you want.

Nicolas

(sorry for the images attachments, but I can't upload images on our
trac server currently).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture_1.png
Type: image/png
Size: 35555 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20080401/0e6c5576/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture_2.png
Type: image/png
Size: 38901 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20080401/0e6c5576/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture_3.png
Type: image/png
Size: 31358 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20080401/0e6c5576/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture_4.png
Type: image/png
Size: 31016 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20080401/0e6c5576/attachment-0003.png>


More information about the postgis-users mailing list