0
votes
1answer
34 views

OpenLayers with MVC and SQL Server

I have imported some shape files into SQL Server 2008. Now i want to use OpenLayers with my MVC 4 application to render those shape files from SQL Server Database. Any help in this regard?
1
vote
3answers
83 views

Sending and receiving gis data to map

I have a spatial database in Sql server and I am working in asp.net mvc. My project must show stored shape in web page that uses openlayers js and user must see and edit shapes and send the result to ...
1
vote
0answers
143 views

Not able to edit or draw new feature in databse geometry data [closed]

var DeleteFeature = OpenLayers.Class(OpenLayers.Control, { initialize: function(layer, options) { OpenLayers.Control.prototype.initialize.apply(this, ...
0
votes
0answers
139 views

Openlayer seems slow when zooming / panning on vector (geometry line) from geojson. Why?

I have a layer with 7 lines . when I zoom on some of the lines , the maps seems to be very slow. I thought it might be because I bring a lot of points to the client (that represents the line) aa ...
1
vote
0answers
73 views

Why is my linestring not valid ? was recorded from GPX file

I have a linestring that was built from points from GPX file. I've insert it to sql as geometry and when I try to run funcs on it (like STStartPoint ) I get error that line isn't valid and I need to ...
0
votes
0answers
83 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 ...
3
votes
1answer
697 views

Openlayers: OGC Filter problem

I have a problem with OGC filter. My layer in OpenLayers has this filter: filter: new OpenLayers.Filter.Comparison({ type: OpenLayers.Filter.Comparison.BETWEEN, property: ...
2
votes
1answer
398 views

What is the “best practice” way to retrieve features from MSSQL to OpenLayers and display them?

Today I have a table in the DB with columns Feature Name and Feature Point. When I want to load the points to OL I do the following : First I call web service to get list of json objects: var ...
4
votes
1answer
523 views

Is there a way to get centroid of geographic object in MSSQL?

I have a table of OSM geographic roads in MSSQL 2012. I want to create a new column with the centroid of each road (So I can set center on OpenLayers map for each road). How can I do it ?
1
vote
2answers
437 views

Distances and areas in Google projection

I have a mapping website used to capture polygons using OpenLayers in Google projection (900913) and storing them in sql server 2008 as geometry. The SRID on the sql geometry column is set to 900913. ...
6
votes
3answers
1k views

Determine if a polygon intersects itself in OpenLayers

I let the users draw polygons and then I try to save them out to the SQL Server 2008 SQLGeography field, but it is giving me an error: Error 24200: The specified input does not represent a valid ...