Re: [Geoserver-users] Upload .csv file to GeoServer via cURL

2015-02-11 Thread Russ Hore
Could you not insert them into Postgres and serve them from that via GeoSever?

I do something similar.

Russ

---


 On 11 Feb 2015, at 23:38, Don don...@gmx.net wrote:
 
 Dear GeoServer Users,
 
 My apologies in advance in case this is an annoying question!
 I am very new to GeoServer and can — also after reading the 
 documentation/manual, googling and browsing through older list posts — not 
 figure out how to solve my current problem:
 
 I would like to upload .csv files to a GeoServer. Since we want to do this 
 automatically later on, I would like to use cURL to upload the files.
 With this documentation 
 http://docs.geoserver.org/2.0.0/user/extensions/rest/rest-config-examples-curl.html
  I am aware how to do the same thing with a .shp file.
 I am, however, unable to translate this information into the .csv case, i.e. 
 I can’t figure out what changes/adaptions to the given example are necessary 
 so I can get .csv files onto the server instead of .shp files.
 
 Thanks very much in advance!
 Dominik
 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Upload .csv file to GeoServer via cURL

2015-02-11 Thread Andrea Aime
On Thu, Feb 12, 2015 at 12:38 AM, Don don...@gmx.net wrote:

 Dear GeoServer Users,

 My apologies in advance in case this is an annoying question!
 I am very new to GeoServer and can — also after reading the
 documentation/manual, googling and browsing through older list posts — not
 figure out how to solve my current problem:

 I would like to upload .csv files to a GeoServer. Since we want to do this
 automatically later on, I would like to use cURL to upload the files.
 With this documentation
 http://docs.geoserver.org/2.0.0/user/extensions/rest/rest-config-examples-curl.html
  I
 am aware how to do the same thing with a .shp file.
 I am, however, unable to translate this information into the .csv case,
 i.e. I can’t figure out what changes/adaptions to the given example are
 necessary so I can get .csv files onto the server instead of .shp files.


In order to do that, you first need a csv store, which GeoServer will have
in version 2.8.x I believe (to be released September),
and/or maybe as a community module earlier in the 2.7.x series.

However, the importer module can handle csv files, and I believe convert
them into a shapefile or something
else that GeoServer can use. It also has a rest api, but those that
contributed it, failed to document the
REST API, the tests in the module are not much help either I'm afraid.

I'm going to ask for some docs, see if they do have any, in any format

Sorry I could not be of much help

Cheers
Andrea

-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

---
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users