Tag Info

New answers tagged

0

Finally I used geo-fence, a geoserver plugin for security management. It has a Restful API for adding,managing,ect of users,roles,rules,....


0

The topology extension has to be CREATEd separately: CREATE EXTENSION postgis_topology; As to why also your raster functions fail: could you verify you are trying to use a version of PostGIS with raster support compiled in? (see http://www.postgis.net/docs/RT_FAQ.html#idp61635392)


1

Gery, I am in a similar situation. I don´t need to hide or show the different rasters separately. If that's OK for you, this is what I did: As far as I know, in the mapfile - Layer - Data you can only specify one file, but you can create several identical layers with the very same name, each one of them pointing to a different raster. Loading this WMS ...


0

You could try to check if the Layer is loaded the first time: var first_time=true; var HSlay06 = new OpenLayers.Layer.MapServer('Human Settlement 2006', "http://localhost/cgi-bin/mapserv?map=/var/www/html/mapfile/Human_Settlement2006.map", { map: "/var/www/html/mapfile/Huma_Settlement2006.map" }, ...


1

You can check the code out of the repository and do pretty much anything you like with it. You might also want to look at the GeoTools code that underlies much of the GeoServer code. GeoServer code is licensed under the GPL - so there are some restrictions on what you can do with it, mostly related to releasing programs without releasing your changes to ...


0

You try to add an image layer, but your request states getCapabilities (the service description document). You probably mean GetMap ? I don´t understand your url (It does not look standard WMS to me), but I would try something like url : 'http://localhost/cgi-bin/mapserv.exe', layers: 'villages' parameters:{service:"WMS", version:"1.1.1", ...


0

I modified the code in this as per told in previous answer but it is still giving me error of "Unexpected identifier". MapServer Simple Viewer </head> <body> <div style="width:800; height:800" id="map"></div> <script defer="defer" type="text/javascript"> var perimetro = new ol.layer.Image({ source: new ...


0

You just added variables breaking the normal OpenLayers 3 behaviour and also made a mistake about extent position Remove mode : 'map', CRS : 'EPSG:3857', Move extent: [8046840.710000,3906011.335000,8217827.220000,4076997.845000] from ol.source.ImageWMS to ol.layer.Image options block



Top 50 recent answers are included