0
votes
1answer
23 views

Why are map tiles being repeated? Using MapServer and Openlayers

Problem I have: map tiles from my layer are being repeated. Shapefile is projection 3059. I have specified 3059 is in the mapfile and also when creating map object. I know OpenLayers.Layer.WMS is ...
0
votes
0answers
23 views

Openlayers doesn't want to show map throught Mapserver

I have a configured Mapserver with WMS service, I know Its working because I tried in QGIS and I can see the map. The problem is that openlayers doesnt want to show the map via mapserver service. Yes, ...
0
votes
0answers
20 views

Openlayers WMS GetFeature Info Pop Up Not Working / Mapserver

I am new to OpenLayers and Mapserver .. I have been trying for days and am not able to make it work I want to make a Pop Up for Get Feature Info but nothing appears when i click any place This is ...
0
votes
2answers
34 views

OpenLayers and Mapserver-WMS-Layer disappear if the map is draged

I have a client for the WMS-Services of my mapserver. The client program is written in javascript and it uses Openlayers (v. 2.12). The map has as a base layer "Google satellite"-Layer and the ...
0
votes
1answer
36 views

Mapserver WMS, features clipped and positioned

How can I prevent features being clipped at tile boundaries in an WMS layer as per the picture The arrow and line segments are being clipped when viewed in openlayers as a WMS layer. The map file ...
1
vote
1answer
54 views

How to get mouseposition (openlayers) in decimal degrees?

I want to display the mouseposition in Degree Decimal rather than in meters. See my code: <script type="text/javascript"> var map, ia_wms; function init(){ map = new ...
1
vote
0answers
37 views

Rendering OSM with QGIS for MapServer to use in OpenLayers

I want to show tiles in OpenLayers offline. I've installed QGIS 2.0, TileCache, and MapServer on Windows. Enabled plugin OpenLayers in QGIS. What kind of data I suppose to extract from QGIS with my ...
0
votes
1answer
64 views

Serving WMS using Mapserver (Mapfile)

I want to display a map from Mapserver in Openlayers 2.13. I've prepared the Mapfile: MAP NAME "WMS Server" IMAGETYPE PNG EXTENT 106.637 -6.36199 106.78 -6.231 SIZE 600 300 IMAGECOLOR ...
1
vote
1answer
202 views

Single tiled Mapserver WMS to avoid Labels and features cut along tile borders and repeated labels

I am using Mapserver-wms-openlayers for publishing maps. But there are some issues came across related to duplicate labeling for same feature in adjacent tiles, unwanted breaks in line features along ...
0
votes
1answer
53 views

Labels and features cut along tile borders and labels repeated on many adjacent tiles for same feature in “mapserver” wms using openlayers

Labels and features cut along tile borders and labels repeated on many adjacent tiles for same feature in "mapserver" wms using openlayers. My label portion in mapfile: LABEL FONT arial ...
2
votes
1answer
55 views

OpenLayers.Layer.MapServer not rendering but new OpenLayers.Layer.WMS does

I got the following code: var layern2 = new OpenLayers.Layer.MapServer("Tech", "ServerPathTo_mapserv.exe", { map: "ServerPathTo_My.map" ...
-1
votes
1answer
189 views

My wms vector data overlay on openlayer vmap work fine but on osm img is not rendering

i am try to overlay my India roads vector over an openlayer (http://vmap0.tiles.osgeo.org/wms/vmap0) vmap work fine.but i want to do the sam task over osm(open street map), i am trying many different ...
0
votes
2answers
95 views

MapServer and OpenLayers: Properly using MAXSCALEDENOM in mapfile (google baselayer)

My base layer: google map My points on the map: from an airports.db file, set up as a WFS layer in the OpenLayers code. As of now: map loads, points in the correct places on the map. My goal: ...
0
votes
0answers
117 views

How to use SLD to filter a WMS layer but without setting any styles?

I'm trying to filter (using OpenLayers) a WMS layer, served by MapServer. I've got this working by building the appropriate OpenLayers.Filter rule(s) with an empty Polygon symbolizer (so no specific ...
1
vote
1answer
115 views

OpenLayers and WFS: Using a mapfile correctly with featureType and featureNS

For starters, I went off the example at http://openlayers.org/dev/examples/wfs-reprojection.js and got that working just fine with the states vector layer showing up. Now I'm trying to use my own ...
0
votes
0answers
23 views

Is it possible to get all features from mapserver within BBox by clicking external button not on map using WMS GetFetureInfo. [duplicate]

Is it possible to get all features from mapserver within BBox by clicking external button not on map using WMS GetFetureInfo.
0
votes
2answers
304 views

Use GetFeatureInfo with OpenLayers and a Bounding Polygon

I want to be able to draw a bounding polygon and have my MapServer WMS layer return every feature within that bounding box. I have it working for a single point, but I would like for the query to ...
0
votes
1answer
88 views

Error in displaying wfs layer from mapserver/postgis

I have read and tested all the relative posts but I still don't have a solution for my problem. I have a layer suscribers (points) stored in postgis database with srid=32232. I would like to display ...
0
votes
0answers
97 views

OpenLayers Mapserver spatial filter INTERSECTS format problems

Trying to get hand-drawn polygon delimiter for spatial query via OpenLayers to mapserver (then postgis). I can get the WKT of the drawn polygon and can substitute the dynamic values, but am having ...
0
votes
1answer
132 views

No PopUp with WMSGetFeatureInfo and Mapserver

I've searched for answer for the last couple of days with no success. When I click on an object on the screen I get this reply from the server ...
0
votes
0answers
72 views

Transforming WFS Projection

I am trying to overlay features from a WFS using OpenLayers, my geometries in database are in EPSG:27700 and my map's projection is EPSG:3857. My mapfile returns data in EPSG:27700. Is there any way ...
3
votes
2answers
334 views

Using Mapserver WFS with Openlayers: shows empty map

UMN Mapserver 6.1.2 and Openlayers 2.13 are running on the same local host. At the moment, I merely try to display restaurants and cafes of a local region as points/symbols on a map. Later, I would ...
2
votes
1answer
207 views

Best way to visualize the PostGIS Raster in OpenLayers

I have been stuck by this problem for a long time. Several ways have already been tried, but none of them works as I was expecting. Here are the description of each of these method as well as the ...
1
vote
0answers
147 views

MapServer Clustering GetFeatureInfo

I'm having a bit of a problem with clustering in map server the clustering itself works fine and the GetFeatureInfo works fine most of the time. However some times when I click on a cluster point it ...
0
votes
1answer
79 views

Mapfile SYMBOLSCALEDENOM and SIZEUNITS (miles) 200: Keep SIZEUNITS while circles change size based on zoom

I've been trying to understand how to keep the SIZEUNITS at 200 while the circles appropriately adjust based on zoom level. Thought I had this working properly but turns out I did not. You can see ...
1
vote
1answer
147 views

OpenLayers serving a MapServer layer: data won't display correctly without using WMS

I am trying to serve my Mapfile data as a MapServer layer in OL, rather than a WMS layer. When I display it using WMS, everything works fine. The part of the mapfile I have struggled with was ...
3
votes
2answers
590 views

How to make a raster layer transparent via MapServer

I loaded a PostGIS raster Data through OpenLayer and Mapserver. The code inside the OpenLayer is as following : localWMS = new OpenLayers.Layer.WMS( "Local WMS layers", ...
0
votes
1answer
174 views

MapServer Mapfile and OpenLayers: using SIZEUNITS. Labels shrinking on 1x zoom and points disappearing upon zooming in

I am trying to set the symbol radius to 100 miles. This seems ok (note, not including the whole mapfile, just what's at hand here): LAYER NAME POIs TOLERANCE 50 TOLERANCEUNITS miles ...
0
votes
0answers
26 views

Is a GIS server essential for developing a GIS based web application or can I manage completely using a scripting framework (like OpenLayers)? [duplicate]

I'm completely a newbie in open source geospatial technologies and I’m trying to learn the concepts/architecture of building a GIS based web application. I want to use only open source technologies, ...
0
votes
1answer
196 views

Mapfile + OpenLayers: accessing the database by column names (hover, onclick functionality) without using MapServer templates?

What I'm trying to accomplish: take the functionality below (see picture) and do the same without using a MapServer template (if this is even possible). I currently have a mapfile, and an openlayers ...
0
votes
2answers
299 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 ...
1
vote
0answers
79 views

Mapserver + tilecache + openlayers attribute search

I'm using Mapserver + tilecache + openlayers for my web map application. I'm using Mapserver as a WMS Server. Now, I want to perform an attribute search, i.e. type something and the application ...
1
vote
1answer
90 views

(MapServer Osm) Map Accessibility

I have a tile server (MapCache) with a personalized map. For client side's rendering I use OpenLayers. I'd like my personalized cache to be accessible only on my web site, i.e. I don't want another ...
1
vote
1answer
176 views

Hover on Airport Data using OpenLayers + Mapfile

I need to create a simple hover using openlayers for worldwide airport data. I'm thinking maybe the associated address, maybe a picture in regards to the airport, ...anything really. It's just an html ...
0
votes
0answers
106 views

How to configure MS4W Apache for multiple connections and multiple server urls while using tilecache.py

I have configured my Apache Server to broadcast 4 subdomains to my WMS services. I am using TileCache to serve locally generated (pre-seeded) tiles with ms4w. Here are example urls which request the ...
2
votes
1answer
392 views

Blank MapServer WMS image at low zoom levels in OpenLayers

I have an OpenLayers map using OSM as the baselayer with several layers coming from MapServer via WMS. The OL map is in EPSG:3857 and my mapfile (and shapefiles) are in EPSG:4326. In my mapfile I ...
0
votes
1answer
169 views

What should I start with WebGis Mapserver?

I'm not native English Speaker and I'm a graduated student who want to have a master degree in software engineering. I have a thesis relative with "Build a WebGis for air pollution in Vietnam's ...
2
votes
2answers
360 views

How to show/hide labels with mapserver and openlayers

I'd like to have a check/uncheck option like this print checkbox to show/hide labels in my WMS layers served by mapserver 5.6.7 in openlayers 2.11. I have a toolbar where to put this using probably ...
0
votes
1answer
79 views

how to stretch GMT raster with gdal to work with google

How can I stretch a PNG raster coming from GMT (Generic Mapping Tools 4.5.6) in such a way that does align with google satellite or bing? such raster is in wgs84 and crosses two UTM zones (17 and 18 ...
1
vote
1answer
752 views

openlayers multiple layers with different projection

My page contains two layers: 1. Open Street Map as a basic layer and WMS layer from mapserver as a overlay layer. My map show this two layers but in a wrong position. I spent a lot of time trying ...
0
votes
1answer
236 views

Why is mapserver layer not showing up in openlayers?

I'm currently setting up a Mapserver/OpenLayers application. My mapscript works fine when i run on mapserver, but my mapserver layer not showing up in openlayers. this is my mapscript "tangsel.map" ...
0
votes
1answer
184 views

GMT raster (*.tiff + *.pgw) in epsg4326 shifts few kms (4326-900913-3857 problem?) [duplicate]

This seems to be an old problem with an already known solution (ie. "...stop using 900913 and start using 3857..."), but not sure whether this problem is about software versions, the raster itself or ...
1
vote
2answers
84 views

How to specify layer from which layer to query getWMSInfo when click feature on map (getWMSInfo with multiple layers)

i'm using getWMSFeatureInfo with multiple point layers. When i click on a point on map, how to specify point clicked belong to which layer??
1
vote
2answers
344 views

OpenLayers and TInyOWS WFS won't load - 'InvalidParameterValue'

I've got a tinyows on localhost that works fine (both through browser GetFeature and QGIS). But my OpenLayers code fails. I've checked here: Display a WFS layer with OpenLayers and here : How to add a ...
0
votes
1answer
194 views

Get lon/lat of feature in postgis

I'm hava a problem I have a point layer (shapefile) insert to postgis! I'm using MapServer and OpenLayer to display layer on map! Now, i want get lon/lat all feature of layer! Hope somebody can help ...
1
vote
3answers
564 views

OpenLayers does not render wms layer generated by MapServer

I need to add a wms layer to my OpenLayers map and it should be generated by MapServer installed locally. OpenLayers HTML file <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ...
1
vote
3answers
2k views

Problem with setCenter in openlayers

I'm working with MapServer/Postgis using OpenLayers to display map! I'm trying setCenter map but it not working! My code: var bounds = new OpenLayers.Bounds(107.567139, 12.326586, 108.258591, ...
0
votes
1answer
95 views

How to use bbox in long/lat with google/bing/etc… using mapserver‏

The bbox of OpenLayers.Control.GetFeature works in utm when the baselayer is 900913 ie. google/bing/etc) and in long/lat when the baselayer is 4326 (ie. my postgis layers served by mapserver), no ...
3
votes
2answers
225 views

What are the requirements for building a Web Mapping and analysis Site?

I want to make a site like bhuvan in which it can provide different layers of information and also tools for performing GIS analysis I know three main requirements : client side scripting ...
3
votes
1answer
332 views

MapServer / OpenLayers: Is there a limit of 16 zoom levels?

I set up a MapServer (WMS) with a raster basemap like this (Mapfile): MAP PROJECTION "init=epsg:900913" END WEB METADATA "wms_title" "mymap" "wms_srs" "epsg:900913" END ...