0
votes
0answers
24 views

OpenLayers.Layer.Vector and BBOX

i configured this on my client page var kmlLayer = new OpenLayers.Layer.Vector("KML" ,{ strategies: [new OpenLayers.Strategy.Fixed(), new OpenLayers.Strategy.BBOX()], protocol: new ...
0
votes
0answers
12 views

Is it possible to add XML data as DataStore inside GeoServer?

I have multi-polygon with feature information in xml Some kind like below: <polygon> <color>red</color> <coordinates> 125.94517419942997,37.080000000100085 ...
2
votes
3answers
118 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 ...
1
vote
0answers
60 views

Can I edit WMS layer or KML layer?

I am using Openlayers and until now i have been using OSM as background and i got points from my db (mySQL) and add them to vector layer, then i could modify them and save it back to the server. now i ...
0
votes
1answer
340 views

Selection problem in WMS layer using OpenLayers

I added 4 WMS layers (three polygons and one have point geometry) from GeoServer on my webpage My requirement is: I have to select a single polygon of one wms layer using a mouse click. After the ...
3
votes
1answer
232 views

Visualizing Spatial Query

I'm new to GIS applications and trying to figure out what options I have for visualizing spatial query results that combine raster and vector data using OpenLayers/GeoExt/GeoServer/PostGIS. A ...
1
vote
0answers
143 views

How to config geoserver to read style of vector layer from postgis/SQL store?

I've imported vector layers from map info pro to both SQL server and post gis using easy loader. In both cases I've included style column in the exported table. When I create new store in geoserver ...
3
votes
1answer
724 views

adding polygon to database in openlayers

I want to add a polygon to the database. I used the following code. The problem is that I am to able to save in database. Whatever polygon I draw on map it gets save temporary and as soon as I reload ...
1
vote
1answer
134 views

BBOX strategy to load all features?

Since I have no way, other than using BBOX strategy with my vector layer + wfs protocol Is it required to use BBOX strategy with WFS protocol in OpenLayers? I'm wondering if there is a way to force ...
1
vote
2answers
713 views

Is it required to use BBOX strategy with WFS protocol in OpenLayers?

is it a must to use BBOX strategy with WFS protocol in Vector layers ? I cannot display this layer without BBOX strategy: vLayer = new OpenLayers.Layer.Vector("Test", { styleMap: new ...
1
vote
2answers
513 views

Its possible to catch ServiceException in Openlayers?

Im trying to catch exception in OpenLayers using vector layers in conjunction with http protocol, its possible to intercept an ServiceException from geoserver ... it will be great to display some ...
2
votes
1answer
429 views

Vector layer feature destroys after geometry transform

I want to get drawn polygon coordinates. var myLatLonSquare = vectorLayer.features[0].geometry.transform(map.getProjectionObject(), new OpenLayers.Projection("EPSG:4326")); ...
3
votes
1answer
3k views

Reproject a vector layer (EPSG:27700) using WFS onto a googlemaps background (EPSG:900913)

I have the following HTML-javascript code and i have problems reprojecting the vector layer (WFS) from EPSG:27700 (British National Grid) to EPSG:900913 (googlemaps). I managed to project the WMS ...
6
votes
1answer
404 views

How to use simplify()

i have my Vector Data saved in a PostgreSQL PostGIS enabled Database. The Data im displaying is very detailed, i want to simplify it through the simplify() method of Postgis. I duplicated one of my ...
4
votes
4answers
290 views

Enlarge/roughen the Vector Size of Tiles

Im currently running a GeoServer and my task is to make the vectors rougher thant they are right now. I really dont know where and how the Geoserver processes the data from the DB and how it will be ...