1
vote
1answer
65 views

Showing unknown SRS(native srs) on GeoServer when importing shape file into GeoServer

I am facing the problem on unknown srs when I am importing shape file into GeoServer. I am trying to imaport a shape file into GeoServer But when I am publishing the shapefile it giving the Unknown ...
1
vote
0answers
49 views

GeoServer - OSM .shp file and aerial shifted

I have a problem with two layers that I have imported into geoserver. One is retrieved via WMS from a Geoserver (aerial tiles) I don't have access to (I'm just allowed to use it via WMS) the other one ...
0
votes
1answer
49 views

How to display data from multiple layers in OpenLayers? [closed]

I am new to using openlayers and Geoserver. I currently have a few shapefiles of a place with a background map of that place. I have imported both shapefiles into postgresql and geoserver. After ...
1
vote
0answers
94 views

How can I retrieve/query data from shape file for forms/grid in website?

I've made a site using openlayers and geoserver. currently im serving WMS layers from geoserver (shape files). I want to add in my site a search form that the user can search for data (which I have in ...
0
votes
0answers
127 views

How does geoserver determine what SRID to pass to PostGIS [OPERATION ON MIXED SRID GEOMETRIES]

We are using Geoserver to render some data onto maps in a web application. The map shapes are read by Geoserver from a postgis database. The shapes are imported into postgis using the ogr2ogr utility. ...
0
votes
0answers
34 views

Creating Periodic table with geoserver

I'm trying to create a periodic table using geoserver and openlayers. I'm trying to do this in geoserver as I want the periodic table to change colors. But I'm new to geoserver and not sure which ...
2
votes
4answers
576 views

How to get street names from OpenStreetMap?

I have some SHP layers that contain some streets and buildings data, and i'm showing it with openLayers (by GeoServer). they are not contain the names of the streets or the numbers of the buildings. ...
0
votes
0answers
106 views

Download Shapefile from Geoserver removing some columns

Is there anyway I can download shapefile from GeoServer at the same time limit which columns will be downloaded? I know that GeoServer can serve different WFS format and this includes .SHP files. My ...
2
votes
0answers
228 views

Geoserver - empty native SRS field

I'm converting layers from shape files to postgis with the below command: shp2pgsql -s 22175 -c -W "latin1" path/file.dbf' table_name db_name | psql -d db_name Next, I add this layer to the ...
0
votes
1answer
134 views

Problem with showing Shape file in Geoserver

I have a number of Shape files from a customer. I can read them with both ogrinfo and QGIS. They don't have a prj-file, but I know that the projection is EPSG:3006. When I add them as layers in ...
0
votes
0answers
12 views

upload file via geoserver rest and openlayers' application [duplicate]

simple question: by developping an openlayers web application with geoserver, how to upload a file( eg:shapefile) to display it with openlayers; using geoserver REST api???
1
vote
1answer
131 views

How to publish shapefiles with GeoServer?

I have multiple shape files of my country, its states and cities. I want them to display in map i.e. First layer is country, then states-layer and then cities layer. I only know that to do this, first ...
0
votes
1answer
109 views

I want to change using C# the style of a set of shapefiles once I have uploaded them or while I am uploading them

I am using C# and the WebRequest class to create a worksapce and then another WebRequest to create a datastore and upload a folder full of shapefiles to a geoserver. However, I would also like to ...
-1
votes
1answer
99 views

Shp2pgsql - exec() not allowed on external server

Me and my collegue are using the shp2pgsql and psql commands in php code (a Drupal module to be precise). We put these commands in a php variable and use the exec() command to execute them. This ...
5
votes
2answers
670 views

GeoServer: Shapefile or PostGIS?

I'm going to build a web application, which will render around ten maps using GeoServer. I will be also changing the attribute data in the application for some layers. So, what is the recommended ...
1
vote
1answer
232 views

Can't preview a shapefile in GeoServer 2.2.4

I have problem with previewing layers in GeoServer. I installed Geoserver 2.2.4 (following instructions in manual) and everything was going well. I managed to login to it and create my own new ...
2
votes
1answer
214 views

Creating shapefiles using Java and Accumulo

I have tracking data with latitude and longitude stored in an Accumulo database table. We want to move toward using Geoserver for some layer display features on the client side. Right now I'm ...
4
votes
0answers
159 views

How to get exact featureinfo in wms layer Geoserver [closed]

I got neighbor polygon feature info instated of clicked polygon feature info. In My Code: getfeaturenfo :function(e) { coordinates=e; var params = { ...
1
vote
3answers
689 views

How to style a shapefile in GeoServer?

I have a shapefile data of buildings. I added it to GeoServer and serve it as a WMS layer. When I check my own maps in the browser my polygons of building appear black color and I want to change it's ...
1
vote
0answers
139 views

What is the best way to create polygons on a map and download files associated with the polygon?

My client wants to build a tourist site and for that he wants a backoffice for the map and the ability to draw polygons on the map (that user can see). When the user clicks on a polygon, he gets a ...
1
vote
1answer
198 views

Unable to add PostGIS table to Geoserver

I am able to add individual tables to Geoserver using, curl -u admin:geoserver -v -XPOST -H 'Content-type: text/xml' -d ...
4
votes
3answers
551 views

Why is the curl syntax unable to create datastore?

I am implementing the following code to upload an existing shapefile as per the documentation, curl -u admi PUT 'Content-type: application/zip' \ --data-binary ...
1
vote
1answer
259 views

Edit Shapefiles Attribute data in GeoServer Programatically

I'm rendering a shapefile using GeoServer and using OpenLayers library to render it in the web browser. Now I have created the option of editing the attribute data in web browser. I want the edited ...
3
votes
3answers
431 views

Shapefile import with Oracle + GeoServer produces points instead of vector shapes

I have implemented the example at http://www.gistutor.com/openlayers/22-advanced-openlayers-tutorials/47-openlayers-wfs-t-using-a-geoserver-hosted-postgis-layer.html and got it working properly. Now ...
1
vote
1answer
239 views

problem after merge shapefiles, can't show it on OpenLayers with GeoServer

I have 5 .shp files, after merge it with geomerge, I can't use it on OpenLayers with GeoServer. it's only show white layer and when i click it, it show error message: Internal error occurred ShapeType ...
6
votes
1answer
832 views

How import a shapefile on-the-fly and have GeoServer render it instantly?

I am tasked with adding one feature to an existing app. It was built with OpenLayers and GeoServer. The task is to import a shapefile on-the-fly and have GeoServer render it instantly. However, I ...
2
votes
1answer
346 views

Uploading unprojected shape files using GeoServer REST API

I have a number of shapefiles that lack the .prj file. I'm able to upload them to geoserver using the rest api. However, I'm unable to serve them after upload. Which brings me to the question as to ...
4
votes
1answer
595 views

How to upload shapefile to PostGIS using cURL and GeoServer REST API

The GeoServer REST API docs here does not detail how to do this. I'd like to create a PostGIS table and corresponding featureType in GeoServer using the REST API, without having to chain requests. ...
3
votes
1answer
2k views

Upload Shape File using GeoServer REST API and C#

I'd like to upload shape files using GeoServer REST API and C#. So far, I can create workspaces using the REST API and C#. From GeoServer documentation (specific to cURL), the difference between ...
0
votes
1answer
206 views

identifying single overlaping features from a GeoServer layer

I'm trying to use GeoServer to display features from a PostGis table the url will look similar to this. Example URL ...
2
votes
1answer
521 views

Getting/downloading shapefile from OpenLayers/Web page and saving to local disk

I have developed a web application where i am using GeoServer and OpenLayers. I have displayed some Layers over Google map in a ASP.Net Web Page. I want to know is there any Method or Script available ...
2
votes
1answer
1k views

cad drawing overlay

I want to overlay a cad drawing on a google map using geoserver. Any tips on how i can do this. Do i need to convert to cad file to a shapefile. Im presuming i do. If so what tools are available ...