Tag Info

New answers tagged

-1

What abput "tile_map_edge_buffer" and "tile_metatile_level" metadata params? I was able to solve a similar problem, drawing points with png icons. The icons appeared cutted in adjacent tiles, but using "tile_map_edge_buffer" and "tile_metatile_level" metadata params in mapfile was the solution. Also you need to pass the follow request params: mode=tile ...


1

I just ran into this issue and found that the problem was because I had not installed the ‘proj-epsg’ package. yum install proj-epsg


0

I don't find a way to install python-mapscript package (and I suppose it is already installed, because with osgeo4w setup rerun it says that no package are missing). Anyway when I run the plugin RT mapserver exporter, this is the error: Errore durante l'esecuzione di codice Python: Traceback (most recent call last): File "C:/Documents and ...


0

It's weird because I never had any problem with this feature. If you take a look at https://download.data.grandlyon.com/wfs/grandlyon?SERVICE=WFS&VERSION=1.1.0&request=GetFeature&outputFormat=geojson&typename=pvo_patrimoine_voirie.pvostationvelov you will notice MapServer produces geojson with double-quoted strings which can handle single ...


1

The plugin is still alive, now named RT mapserver exporter: https://plugins.qgis.org/plugins/rt_mapserver_exporter/ To get it, you need to allow for experimental plugins, and you need the python-mapscript package on Linux (part of the ubuntugis mapserver package), or the mapscript-python package from OSGEO4W on Windows. If you run into troubles, see QGis ...


0

You can try to use the MySQL REPLACE() function to escape the offending characters in your query result ?


1

Short answer Short answer, consider an entry-level VPS service provider. I am using Host1Plus (silver plan) for basic VPS hosting, and Contabo for more resource intensive deployments. Other popular options include DigitalOcean and Linode. All of these providers have options for $5-$15/month. Longer answer Mapserver, Geoserver, Geonode, and Ushahidi all ...


1

I would try those steps: Update the mapfile with a generic request for the layer ( i.e. DATA "geodata from geo_data"); Add EPSG:3857 in the METADATA (i.e. "wms_srs" "EPSG:4326 EPSG:3857"); this is the default SRS used by OL3. Test the WMS service in a Desktop application and request the layer in EPSG:3857.


0

You need to add the control OpenLayers.Control.Navigation() to the OpenLayers.Map object. Please check this: http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Control-js.html Hope it helps if you haven´t found the solution already.


0

mapserverUrl() must be a function that returns the mapserver.exe directory, where the Mapserver is installed, and "District2.map" is the Mapserver configuration file, the Mapfile. please check: http://www.mapserver.org/mapfile/


1

Just start playing! Get yourself a virtual server (Windows or Linux, whatever you're comfortable with), and install the OpenGeoSuite. I run a small production server with around 2 GB of ram and two processors and it works fine. As John Barca says, you can scale up to very big, with load balancing and separate, redundant database servers. But to start ...


0

The problem was that I was using FastCGI. With MapServer 6.4.1, OGR outputs don't work in FastCGI mode when STORAGE is set to stream: https://github.com/mapserver/mapserver/pull/4858 Using CGI, I got GeoJSON output to work in streaming mode. There is also a workaround in MapServer 6.4.2.


1

Replace the geom for the_geom (note the underscore). If the column really includes a space then you must reference it with double quotes: "the geom". This later case is not such a good idea, I would advise you to rename the table column to the_geom.



Top 50 recent answers are included