Hi Gersh,
gershwinou wrote:
Hey Justin,
yeah, that is what i think, put the fid as id of the placemark. Then:
the user can't change it because he does not see it anywhere, unless he
edits the kml file.
If the user sends back this feature modified, we can update the data
repository.
Makes sense to me. Can you throw this in as a feature request?
btw, i am interested in using postgis versioned. but i can't figure out
how to do that. What i understood so far:
- i should create myself the complementary tables (no script for that?)
- on top of that i may run geoserver (geotools datastore). Question: can
i query the wfs/wms to get the last version of the features or some
tagged version? (something like
http://localhost/geoserver/wms?....normalquery...&tag=1.0
<http://localhost/geoserver/wms?....normalquery...&tag=1.0>\)
There are some docs here on trying out versioning... but i am not sure
how recent they are. Here is what I suggest you do:
1. Grab the latest 1.6.x nightly build from:
http://geo.openplans.org/nightly/trunk/
2. Grab the "versioning" configuration / data directgory from :
http://svn.codehaus.org/geoserver/trunk/configuration/versioning/
In there is a 'spearfish.dmp' file which is a postgis dump. From there
you can import the .dmp and point geoserver at the versioning data
directory. From there you can checkout the demo request page for example
s of how versioned requests look.
- is WFS-T supporting that on commiting a feature back to the server (on
top of postgis versionned); Should be yes if
1. postgis versionned datastore is transparent ie
datasource.addfeature(feature) actually increase version of a the
feature if the fid match the one in database...
My understanding is yes... the intent being that you can point your
existing wfs-t dont have to change.
2. WFS-T is able to send back somehow the fid when you commit a
modified feature.
Yup, wfs-t does this without the versioning extensions.
thks for the help
Andrea will provide you with better answers then I can but hopefully
this will be enough to get you started. Be sure to let us know if you
have any issues.
-Justin
Gersh
On 28/08/07, *Justin Deoliveira* <jdeolive@anonymised.com
<mailto:jdeolive@anonymised.com>> wrote:
Hi Gersh,
The only thing I can think of us to use the fid of the feature as the
placemark id.... Would that work? Or are you looking for more
flexibility?
-Justin
gershwinou wrote:
> Ok, I had a look to the code, and it is not possible.
> However it could be something interesting to trace the feature,
because
> we manage to make transaction between google earth and geoserver...
> we can get it however with styleUrl tag, or other possibility is to
> apply xslt after the wms call (a bit like kml_reflect do).
>
> Gersh
>
>
> On 28/08/07, *gershwinou* < gershwinou@anonymised.com
<mailto:gershwinou@anonymised.com>
> <mailto:gershwinou@anonymised.com>> wrote:
>
> Hi all,
> I have one specific question about the kml generation.
> I am interested in generated a custom kml (using templating
> freemarker...)
> However one thing is that i don't want to only specify
<description>
> and <name tag> but i would like to specify an attribute in the
> feature like <Placemark id="my id">
>
> Is that possible, Any pointers?
>
>
> Thanks
>
> Gersh
>
>
>
>
>
>
------------------------------------------------------------------------
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a
browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
>
> !DSPAM:4007,46d41f22231605210051143!
>
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
<mailto:Geoserver-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
> !DSPAM:4007,46d41f22231605210051143!
--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org
!DSPAM:4007,46d489e734462092453641!
--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org