[Geoserver-devel] Data editing in Geoserver: Just confirming type of edit

Hi all,

New to Geoserver and new to list. On the geoserver
website it states that it supports WFS-T, now, can I
physically edit SHP files through Mapserver/Geoserver
or will the data need to be inserted into a spatial
database first and then edited?

My hope is to create a series of SHP files (only) and
allow a user to edit both the geometry and attribute
data.

Regards
Ben Crane

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Ben Crane wrote:

Hi all,

New to Geoserver and new to list. On the geoserver
website it states that it supports WFS-T, now, can I
physically edit SHP files through Mapserver/Geoserver
or will the data need to be inserted into a spatial
database first and then edited?
  

Yes, editing of shapefiles works just fine.

My hope is to create a series of SHP files (only) and
allow a user to edit both the geometry and attribute
data.
  

You got it.
Jody

We highly recommend putting the data in a spatial db, but if there's only one user editing at a time then shape files should work ok. They just don't have the native support of transactions, so the code is just written on top of them. With shp2pgsql and pgsql2shp utilities you can easily go in and out of PostGIS, which is free, and pretty easy to set up.

best regards,

Chris

Ben Crane wrote:

Hi all,

New to Geoserver and new to list. On the geoserver
website it states that it supports WFS-T, now, can I
physically edit SHP files through Mapserver/Geoserver
or will the data need to be inserted into a spatial
database first and then edited?

My hope is to create a series of SHP files (only) and
allow a user to edit both the geometry and attribute
data.

Regards
Ben Crane

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Chris Holmes
The Open Planning Project
thoughts at: http://cholmes.wordpress.com

Chris,

We have thought of that, but we will have possibly
hundreds of users wanting to access user specific shp
files. No user will ever look at any other shape files
than the ones they're permitted to do, so there will
never be a case of 2 users accessing and editing the
same file. If that occurs, we've messed up the
permissions badly.

We thought storing native SHP files in directories
allocated to each user would enable us to just upload
once a day any shape files processed for a user and
from there the user can edit, display the data as they
see fit. We felt a SD might just complicate it and
perhaps slow access for other users since we will have
hundreds of users potentially and ALL their spatial
data stored as well.

We just felt it was an easier setup to maintain using
PHP/Perl. Any additional thoughts would be most
welcome.

Ben
--- Chris Holmes <cholmes@anonymised.com> wrote:

We highly recommend putting the data in a spatial
db, but if there's
only one user editing at a time then shape files
should work ok. They
just don't have the native support of transactions,
so the code is just
written on top of them. With shp2pgsql and
pgsql2shp utilities you can
easily go in and out of PostGIS, which is free, and
pretty easy to set up.

best regards,

Chris

Ben Crane wrote:
> Hi all,
>
> New to Geoserver and new to list. On the geoserver
> website it states that it supports WFS-T, now, can
I
> physically edit SHP files through
Mapserver/Geoserver
> or will the data need to be inserted into a
spatial
> database first and then edited?
>
> My hope is to create a series of SHP files (only)
and
> allow a user to edit both the geometry and
attribute
> data.
>
> Regards
> Ben Crane
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
protection around
> http://mail.yahoo.com
>
>
>

-------------------------------------------------------

> This SF.Net email is sponsored by xPML, a
groundbreaking scripting language
> that extends applications into web and mobile
media. Attend the live webcast
> and join the prime developer group breaking into
this new coding territory!
>

http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

> _______________________________________________
> Geoserver-devel mailing list
> Geoserver-devel@lists.sourceforge.net
>

https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Chris Holmes
The Open Planning Project
thoughts at: http://cholmes.wordpress.com
> begin:vcard
fn:Chris Holmes
n:Holmes;Chris
org:The Open Planning Project
adr:;;377 Broadway, 11th Floor;New York;NY;10013;USA
email;internet:cholmes@anonymised.com
title:VP, Strategic Development
x-mozilla-html:FALSE
url:http://topp.openplans.org
version:2.1
end:vcard

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Ben Crane wrote:

Chris,

We have thought of that, but we will have possibly
hundreds of users wanting to access user specific shp
files. No user will ever look at any other shape files
than the ones they're permitted to do, so there will
never be a case of 2 users accessing and editing the
same file. If that occurs, we've messed up the
permissions badly.

GeoServer should be able to handle it then.

We thought storing native SHP files in directories
allocated to each user would enable us to just upload
once a day any shape files processed for a user and
from there the user can edit, display the data as they
see fit. We felt a SD might just complicate it and
perhaps slow access for other users since we will have
hundreds of users potentially and ALL their spatial
data stored as well.

Well, I would say that databases are built precisely to simplify such things like many users accessing it at once, but if you find the shapefile approache easier on your end I believe it should work. I just don't have quite the same confidence in it that I do in a spatial db.

We just felt it was an easier setup to maintain using
PHP/Perl. Any additional thoughts would be most
welcome.

I think it's up to you. Your use case seems like it should work fine with GeoServer and shapefiles.

best regards,

Chris

Ben
--- Chris Holmes <cholmes@anonymised.com> wrote:

We highly recommend putting the data in a spatial
db, but if there's only one user editing at a time then shape files
should work ok. They just don't have the native support of transactions,
so the code is just written on top of them. With shp2pgsql and
pgsql2shp utilities you can easily go in and out of PostGIS, which is free, and
pretty easy to set up.

best regards,

Chris

Ben Crane wrote:

Hi all,

New to Geoserver and new to list. On the geoserver
website it states that it supports WFS-T, now, can

I

physically edit SHP files through

Mapserver/Geoserver

or will the data need to be inserted into a

spatial

database first and then edited?

My hope is to create a series of SHP files (only)

and

allow a user to edit both the geometry and

attribute

data.

Regards
Ben Crane

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam

protection around

http://mail.yahoo.com

-------------------------------------------------------

This SF.Net email is sponsored by xPML, a

groundbreaking scripting language

that extends applications into web and mobile

media. Attend the live webcast

and join the prime developer group breaking into

this new coding territory!

http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Chris Holmes
The Open Planning Project
thoughts at: http://cholmes.wordpress.com

begin:vcard

fn:Chris Holmes
n:Holmes;Chris
org:The Open Planning Project
adr:;;377 Broadway, 11th Floor;New York;NY;10013;USA
email;internet:cholmes@anonymised.com
title:VP, Strategic Development
x-mozilla-html:FALSE
url:http://topp.openplans.org
version:2.1
end:vcard

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

--
Chris Holmes
The Open Planning Project
thoughts at: http://cholmes.wordpress.com