2
votes
1answer
26 views

Geoserver WFS - Can I Pass in Filter Parameters via the URL?

I'm trying to use PHP's CURL function to fetch geoJSON information from a GeoServer instance. I'm doing this using url variables rather than trying to construct a full xml GetFeature request. ...
6
votes
4answers
158 views

How to use Leaflet to efficiently show parts of a massive dataset?

I keep seeing non-GIS web developers running into this problem, and I'm not sure what the solution is. There is some dataset of thousands of items. We want to show a map to the user, with the ...
0
votes
1answer
120 views

WFS 2.0 with bbox filter and attribute filter

I am trying to get the following WFS GET request to work: wfs = "service=WFS&version=2.0.0&request=GetFeature", name = "&typeName=storeName:layerName", bboxFilter = '&bbox=' + ...
0
votes
1answer
320 views

Read GeoJSON with openlayers

I generated a GeoJSON a projected table in EPSG: 4326 domeu postgis SELECT ST_AsGeoJSON(geom) FROM "onibus" I put in the www folder on my server I'm running geoserver locally my pages are also in ...
0
votes
1answer
216 views

Issue with a point insertion into a Geoserver points layer. WFS-T

How is the best way to insert a feature from the client side into an existing GeoServer layer? Maybe using an ajax call and JSONP? Or OpenLayers (i can't figure out how to have the proxy working)? ...
1
vote
2answers
158 views

Printing possible for openlayers GeoJson WFS with Mapfish printing service and wkhtmltopdf?

I searched lots of places but I couldn't find proper examples or documentation to do printing using Mapfish Printing service or Wkhtmltopdf. My application has a few WFS layers from openlayers and ...
1
vote
1answer
171 views

GeoJSON vector layer created using OpenLayers is broken

What i want to do here is to create a vector layer (using openlayers) from a GeoServer JSON Response. Actually i'm doing this: var url = ...
1
vote
1answer
120 views

JSONP working with Geoserver and OpenLayers

I'm in this scenario (fighting with the same origin police issue): I have a map initialized with OpenLayers and a WFS request trough the Protocol.Script object that is giving me this error: ...
1
vote
3answers
128 views

How to prepare a multi-colored vector layer?

I need to present a multi-colored vector layer and something similar to below: I need to prepare the vector layer by making use with the data set available in my database. Inside my database, I ...
2
votes
0answers
683 views

Geoserver WFS get feature doesn't work - “SyntaxError: missing ; before statement”

I'm trying to use geoserver WFS json for creating vector layer (instead of using WMS) because this is a layer I redraw every 20 seconds. This is the code I use : function getJSON() { var ...
0
votes
0answers
236 views

Leaflet - How to display all stacked marker information on a single mouse click

I am using leaflet to view layers from GeoServer. There is a WMS basemap layer and WFS feature layer returning GeoJSON data. When I click on a Marker I use jQuery as the popup. If I click on a stacked ...
2
votes
2answers
313 views

Is GeoServer getting coordinate output in GeoJSON WFS wrong?

When I do a WFS request to GeoServer and specify the SRS like this: http://myserver.com/geoserver/wfs? service=wfs& version=2.0.0& request=GetFeature& ...
0
votes
0answers
86 views

Is there a big (if any) performance difference between Geoserver SQL Layer and OpenLayers geojson Layer?

I have a table with multiline geography items in SQL Server 2008 (Routes). I want to show them on OL Google Map but I'm having trouble creating SQL Data source in geoserver (something related to ...
-2
votes
1answer
61 views

Render specific vector data from database with openlayer

I want to render some data on a map. They are stored as points in my database (postGiS), each one is associated with a name. I want to render points with the same place name in the same color. ...
1
vote
1answer
642 views

What is the best way to use Leaflet and Geoserver to highligh a feature after a WMS request?

I have a web map, and I'm hoping to make it interactive. The layer I have is reasonably large, at 15 mb in GeoJSON format 4 mb compressed, so I don't want to load the whole layer as one file. But, I ...
0
votes
1answer
527 views

Attribute extraction from GeoJSON to symbolize - OpenLayers

Loading polygons from geoserver via OpenLayers using GeoJSON. My plan is to symbolize using attributes in the GeoJSON. I am struggling to access the attributes. Any insight appreciated: The ...
9
votes
5answers
2k views

GML, KML, GeoJSON - Speed rendering 3109 polygons?

I am working with Geoserver, serving U.S. Lower 48 counties to openlayers (3109 polygons - lots more vertices). The counties are loaded into a postgis database. I am curious about developer ...
2
votes
2answers
617 views

Exporting OpenLayers.Layer.WMS to GeoJSON / KML

I'm looking the way to exporting an especific region of a WMS layer to some XML format (GeoJSON, GML, KML) using OpenLayers and Geoserver. I've found how to export features objects with ...
0
votes
1answer
255 views

How to publish my map from geoserver [duplicate]

Possible Duplicate: How to develop a map with layers in Geoserver? I'm trying to create a simple map for my city. I have a shape file my city, but I can't create on the web. I tried to ...
1
vote
2answers
485 views

How to use GeoJSON from Geoserver?

Please help me on how can get my map from Geoserver. I want create my country web but I can nott see it in my browser but I can see in Geoserver. Please help me I am very new openlayers and Geoserver. ...
3
votes
1answer
4k views

How do I get GeoJSON data from GeoServer into show up on my Leaflet map?

I'm trying to create a simple "Green" map for my city. The idea being that it is a website with a map and layers you can turn on and off. I am serving the data through GeoServer and am using GeoJOSN ...
4
votes
2answers
1k views

Beginner needs suggestions on map clicks and geojson

I'm a beginner with programming, and javascript. I went to the FOSS4G-NA conference and was very inspired to learn more. I'm trying to learn PostGIS, and have come across a very useful tutorial for ...
0
votes
1answer
2k views

Data request to GeoServer: “Could not determine geoserver request from http request GET /geoserver/ows?service=WFS HTTP/1.1”

I am using ExtJS ajax to send a data request to geoserver (which is in another domain different from web server), codes are as follows: Ext.Ajax.request({ //send data request url : ...