New answers tagged

0

In my opinion you must create pyramid layers of you rasters using Gdaladdo command. Using pyramid layers externally or internally will help you to speedup your WMS performance. You can visit gdaladdo for help.


0

A WMS usually only displays a raster background. If the provider has enabled it, you can get additional information per mouseclick. Heremaps does not seem to do that, Openrouteservice neither. You can however download address data from OpenStreetMap, if someone has added it to the map. There is however not much adress information available for Malaysia.


2

Try to disable the "Support on the fly geometry simplification" parameter in the postgis store configuration in GeoServer. And make sure your polygon stays within the "world" boundaries, best if it's not touching the datelines. Also disable "advanced projection handling" in the WMS settings


0

If you're not specifying a format option in your L.TileLayer.WMS, the default of JPEG format is used - a image format that does not support transparency.


1

You are giving a zIndex to the basemap with a superior value than the WMS layer, my guess is that's what causing this problem, you should invert the z-indexes basemap : zIndex: 1; WMS layer: zIndex: 2;


0

Yes you can do that with PointPlacemark, here is part of my code block; public void insertGeoPin(Position selectedPosition, Color pointColor) { System.out.println("Trying to Insert Symbol on Simulation"); this.pointPlacemark = new PointPlacemark(selectedPosition); this.pointPlacemark.setLabelText("P-" + this.counter + "(" + ...


0

whatever type of vector layer you are using you can add this function in OpenLayers 3 to fit your map extent to the layer one: var extent=yourVectorSource.getFeatures()[0].getGeometry().getExtent(); yourVectorSource.forEachFeature(function(feature){ ol.extent.extend(extent,feature.getGeometry().getExtent())}); yourMap.getView().fit(extent, yourMap.getSize())...


0

try calling it with ol.layer.Tile() instead like this: var yourLayer = new ol.layer.Tile({ extent: [2857613.741389, 4274927.875099 , 4989786.191152 , 5176940.449967], visible: true, source: new ol.source.TileWMS(({ url: 'http://localhost:8080/geoserver/gwc/service/wms', params: { 'LAYERS': 'yourWorkspace:yourLayer', ...


0

At this time, with the last update, WFS is supported within the ArcGIS Online viewer - july 09, 2016


1

Only the WMTS endpoint is exposed on this service and WMS is unavailable. Related question: Adding ocean_basemap in QGIS?


3

You got pretty close to the actual syntax (it's a GeoServer extension mind, not part of the OGC standards): http://blog.geoserver.org/2008/12/08/dynamic-symbolizers-part-1/


0

I would suggest that you have a look at this Example: WMS Note the following code: new ol.layer.Tile({ extent: [-13884991, 2870341, -7455066, 6338219], source: new ol.source.TileWMS({ url: 'http://demo.boundlessgeo.com/geoserver/wms', params: {'LAYERS': 'topp:states', 'TILED': true}, serverType: 'geoserver' }) }...


0

The completly free options require integration of a few software and openstreetmap has links to software using its free data. I would recommend looking to Mapbox API and tools as Mapbox studio, it's free for low usage and scales very well, with Native mobile, react native, Offline is a possibility too, can use it with Apis such as Openlayers and leaflet. The ...


3

If you already have a GeoServer WMS service, then the most straightforward way is to use the getFeatureInfo capabilities of the WMS protocol. See https://github.com/heigeo/leaflet.wms and http://docs.geoserver.org/latest/en/user/services/wms/reference.html#wms-getfeatureinfo



Top 50 recent answers are included