[Mapbender-users] Create points with a geoserver WFS-T
Daniel Grum
daniel.grum at unibw.de
Tue Oct 13 08:54:15 EDT 2009
Verena Diewald schrieb:
> Hi Daniel,
>
> to check your new geometry you can write a database rule (or function, I don't
> know exactly) to avoid that this geometry is inserted if it is part of
> another geometry.
> What I'm not sure about in this case is the response xml GeoServer will give
> back to the Mapbender digitizing module. For your case there should be a
> special return value so that you can react on that return value in the
> Mapbender script with a special client message.
>
> Greetings
>
> Verena
>
>
> Am Dienstag 13 Oktober 2009 13:55:48 schrieb Daniel Grum:
>
>> Hi,
>>
>> I want to create points(buildings) with a WFS-T in mapbender and before
>> this was done there must be the possibility to control if there is
>> another point-(building) or linestring-(water) geometry around the
>> point...if there is another geometry the WFT-T should stop and write an
>> ERROR message: "You are not able to create a point(building) there!"
>> New points were digitized,with digitize tool in mapbender, but it don't
>> control if there is a point/line at this area where the new point will
>> be digitized!
>>
>> Do I have to create a PostGIS SQL script to stop the digitizing of an
>> new point?
>> I found the "mod_digitize_messages.php" whre I can create massages for
>> several actions, but I don't know how I can create the "control-action"
>> that control if there is a point in a defined area or not?!
>>
>> I wrote this in the postgis mailing list too, with now answer!
>>
>> Are there any ideas??
>>
>> --daniel
>> _______________________________________________
>> Mapbender_users mailing list
>> Mapbender_users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>>
If I unstand you correctly, I have to write a function in my PostgreSQL
database. I never programmed a function in PostgreSQL by my
self...should this be sth. like a Trigger: so the Trigger startet after
the user created the object?! and wrote the message? and stop the action
saving the new point in my database!
Has anybody else an idea?
--daniel
More information about the Mapbender_users
mailing list