0
votes
1answer
23 views

Draw arc in Geo map WGS84 coordinate system

im trying to draw an arc in OpenLayers, in non Geo map it works well and here is my code: function calculateArcPointsNonGeo(center, radius,startAngle,endAngle,segments) { var pointList = ...
0
votes
0answers
12 views

Layers change position when saving to another data format

When I save my map after using the composer, the layers move a little bit on the images of the OpenLayers plugin. It is like they ignore the CRS option. Do you have an idea?
2
votes
1answer
178 views

Qgis OSM and layer projection problem

I am using QGIS 2.1.0, and trying to import my vector layer(parcels) with OpenStreetMap layer. My vector layer (parcels) use EPSG 31277 coordinate system. This is the definition for EPSG 31277: ...
1
vote
1answer
57 views

Custom tiles in local CRS

I want to achieve the following: Create an OpenLayers map, that runs totally in a local CRS. The basic layer would be a raster tile layer. The tiles will be generated by us once for each project ...
2
votes
2answers
76 views

Mixing coodinate systems

I'm planning to create an online map with openlayers (2 or 3) or leaflet. I have to show some points/markers (~30.000), polygons (~500) and lines in an area of ~10x10 kilometers in several layers. ...
1
vote
1answer
70 views

What should this projection be in OpenLayers?

This is esri rest prj, "spatialReference": {"wkt": ...
1
vote
0answers
50 views

Gauss-Krueger coordinates in Openlayers

I want to show the coordinates of my map in gauss-krüger coordinates, but nothing works. I tried another projection, displayProjection, lonLat.transform but the answers are the same. my source ...
0
votes
2answers
381 views

Why the layer can be loaded to Google Map not OpenStreet Map using MapServer?

Updates: Problem Solved !!!!!!!!!!!!!!!!!!!!! Replace "wms_srs" "EPSG:3857" to "wms_srs" "EPSG:900913" in Mapfile !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I am using ...
0
votes
1answer
158 views

Openlayers Linestring over edge of map

im trying to create a route displayer for ships. But im struggling with the edges of the map. When going from ie. 179* to 2* it displays a line across the entire map, instead of displaying it on the ...
0
votes
1answer
193 views

coordinate projection

I'v got a detail map for an event as PDF an made an openlayers slippy map with Maptiler. I now need to place markers at the position of gps/gsm-trackers, which store their coordinate on a server. The ...
1
vote
1answer
2k views

distanceTo is giving wrong result in OpenLayers?

Hi i am using distanceTo from OpenLayers to calculate the distance between two locations these are map details Geographic = new OpenLayers.Projection("EPSG:4326"); Mercator = new ...
5
votes
1answer
1k views

MGRS in OpenLayers

I am trying to view the Military Grid Reference System coordinates in Openlayers through the MousePosition control. Is there an easy way to accomplish this just through Javascript? I am looking at the ...
2
votes
0answers
100 views

When using OpenLayers plugins maps, can I have Longitude/Lattitude labelled on my grid when using the Map composer in QGIS?

Using OpenLayers plugins maps, can I have Longitude/Latitude labelled on my grid when using the Map composer in QGIS?
8
votes
1answer
3k views

getExtent() in OpenLayers returns strange values

I'm trying to get the bounding box of the map area displayed by OpenLayers. I tried to use map.getExtent() because it should be exactly what I need, but the returned values are "strange": For ...