Robert Sanson | 26 Apr 04:31 2016

Upgrading GDAL

Hi

Is it fine to upgrade GDAL separately from Mapserver? I have Mapserver 6.4 and GDAL v 1.10 on a Ubuntu server.
I wish to take advantage of some GDAL v 2 improvements - specifically . Will anything break?

Many thanks,

Robert L. Sanson
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Ian Walberg | 24 Apr 04:50 2016

OGR csv - no field names

Folks,

Can a csv file with no field names as the first row be used as an OGR source?

GDAL creates dummy field names, are these passed to mapserver?

OGRFeature(USA-Hilton):652
  field_1 (String) = -74.16958
  field_2 (String) =  40.73526
  field_3 (String) =  Penn Station

What do we need in the layer to make this work?

LABELITEM 'name' - this throws an error, 'field_3' does not seem to work either.
CONNECTIONTYPE OGR
CONNECTION 'Stations.csv'

Thanks

Ian
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Kloß, Thomas - LISt | 22 Apr 17:12 2016
Picon

Different positions of feature points in MapServer 6.4 and 7.0.1

Dear MapServer users,

 

we are using two different mapserver version in our organization: 6.4 and 7.0.1. In each mapfile there is a so called “copyright layer” with some origin information:

 

LAYER

            NAME Watersign

            GROUP "Orthofotos"   

            STATUS ON

            TRANSFORM ll

            TYPE POINT

            MINSCALEDENOM 60

            MAXSCALEDENOM 2000000

            FEATURE

                        POINTS 340 -20 END

                        TEXT 'Copyright by XYZ'

            END

            CLASS

                        LABEL

                        TYPE TRUETYPE

                        FONT "Sans-Bold"

                        SIZE 7

                        ANTIALIAS FALSE

                        COLOR 200 200 200

                        END

            END

            UNITS PIXELS

            METADATA

            WMS_TITLE 'Watersign'

            WMS_SRS 'EPSG:25833'

            wms_enable_request "!GetCapabilities"

            END

END

 

The position of this text layer however differs between the two mapserver versions. Although they have the same code in the mapfile, the text layer is not shown at the same place but is slightly shifted.

 

Do we have to update to 7.0.1 for the text to be at the right place or is there an alternative solution?

 

Many thanks and kind regards

 

Thomas

_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Stefanos Anastasiou | 21 Apr 18:23 2016
Picon

OSM base map selection

Hi all.

I want to use OpenStreet Map as a base layer and my own polygons that Mapserver will pull from PostGIS tables.  I'm a bit confused about the OSM concept and I was thinking of just using openlayers to render the OSM and... that's it..!  But then I came across this article https://github.com/mapserver/mapserver/wiki/Rendering-OSM-data-on-Ubuntu-12.04  so....

what is a good approach?  and what is the difference between these two approaches?

Regards,
Stefanos. 

_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Jeremiah Surd | 21 Apr 07:32 2016
Picon

Need info about MapServer

Hi,

I have been working in GIS for quite sometime and would like to use map server too. I had following questions in mind, would be thankful if someone can answer these.

1. What is the licensing policy followed by MapServer ? Can I use it inside my application ?
2. What are the applications that are using Mapserver currently ? Can I get some list of these applications ?
3. Are there any performance numbers on mapserver interms of how many users it can support and the recommended hardware requirements for certain type of deployment ?

I would be thankful if someone can answer these.

Thanks,
Jeremiah
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
vineet singh | 21 Apr 07:17 2016
Picon

Test : wfs:wfs-1.1.0-Basic-GetFeature-tc5 (WFS does not provide the data)

Hi,
   
I'm test WFS 1.1.0 using ogc compliance tests, all test cases are getting passed except one. I'm using tinyows to serve wfs requests.
I have posted this issue on  /ets-wfs11  : 
For get feature service, filter is also working fine.
I'm not able to understand whether this the problem with tinyows or data i'm providing or something wrong with test case.
Any help would be greatly appreciated. 

Thanks,
Vineet Singh

_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Jeremiah Surd | 21 Apr 07:01 2016
Picon

Need info about MapServer

Hi,

I have been working in GIS for quite sometime and would like to use map server too. I had following questions in mind, would be thankful if someone can answer these.

1. What is the licensing policy followed by MapServer ? Can I use it inside my application ?
2. What are the applications that are using Mapserver currently ? Can I get some list of these applications ?
3. Are there any performance numbers on mapserver interms of how many users it can support and the recommended hardware requirements for certain type of deployment ?

I would be thankful if someone can answer these.

Thanks,
Prakhar
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
AndyC79 | 19 Apr 12:07 2016
Picon

Mapserver 7 - CLUSTER layer getfeatureinfo / php mapscript queryByPoint broken?

Hi,

Upgraded to MS 7 from 6.4.1 recently - getfeatinfo requests that used to
work against clustered layers, now return 500s with Apache logs detailing:

End of script output before headers: mapserv

Which as far as I understand means the mapserv process crashed?

request e.g:

http://<server>/cgi-bin/mapserv?map=/path/to/mapfile.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&FORMAT=png8&TRANSPARENT=true&QUERY_LAYERS=TEST&LAYERS=TEST&TILED=true&INFO_FORMAT=application%2Fjson&X=50&Y=50&SRS=EPSG%3A3031&STYLES=&WIDTH=101&HEIGHT=101&BBOX=-925990.5180299012%2C195459.73995354102%2C-432454.67464720976%2C688995.5833362325

I tried also using PHP mapscript to assemble a point query against the
cluster layer, however that also does not seem to work in MS 7. It fails at
the layerObj->queryByPoint method.

Makes me think there's either something fundamentally problematic with
querying CLUSTER layers in MS 7. Or perhaps the way I've had my mapfile
configured is now causing an issue.

** Can anyone confirm that getfeatureinfo / php mapscript queryByPoint is
working against CLUSTER layers in MS 7 ? **

The CLUSTERs draw fine. Just the querying that seems an issue.

Below extract from mapfile. I can provide further details if necessary.

	LAYER
		NAME 'rsr_sites'
		TEMPLATE "../templates/rsr_sites_info_template.js"
		TYPE POINT
		INCLUDE "includes/connection.inc"
		DATA "the_geom FROM (SELECT gid, the_geom, id AS site_id, url, lon, lat
FROM data.rsr_sites) AS query USING UNIQUE gid USING srid=3031"	
		INCLUDE 'includes/proj_3031.inc'
		METADATA
			"ows_name" "rsr_sites"
			"ows_title"	"RSR"						
			INCLUDE 'includes/default_layer_metadata.inc' 
		END
		TOLERANCE 8
		CLUSTER
				MAXDISTANCE 22 
				REGION "ellipse" 
		END
		PROCESSING 'ITEMS=site_id,url,lon,lat'
		PROCESSING "CLUSTER_GET_ALL_SHAPES=ON"
		LABELITEM "Cluster_FeatureCount"
		CLASSITEM "Cluster_FeatureCount"
		CLASS
			NAME "Multiple Sites - proportional symbol"
			EXPRESSION ("[Cluster_FeatureCount]" != "1")
			STYLE
				MINSIZE 25
				MAXSIZE 50
				SIZE [Cluster_FeatureCount]
				SYMBOL "Circle"
				COLOR '#885e49'
			END
			LABEL
				FONT ATTriumMou-Cond 
				TYPE TRUETYPE
				SIZE 7
				MAXSIZE 8
				MINSIZE 7
				COLOR 255 255 255
				ALIGN CENTER
				PRIORITY 10
				PARTIALS TRUE
				FORCE TRUE
				POSITION cc
			 END
		END
		CLASS
			NAME 'Single Site'
			EXPRESSION '1'
			STYLE
				SYMBOL 'Square'
				SIZE 8
				MINSIZE 8
				MAXSIZE 8
				COLOR '#953d38' 
			END
		END
	END

Cheers

Andrew

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Mapserver-7-CLUSTER-layer-getfeatureinfo-php-mapscript-queryByPoint-broken-tp5261838.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Marc-André Trottier | 15 Apr 20:54 2016
Picon

error 500 with pg_raster and where clause

Ubuntu 14.04
Mapserver 6.4.2
PostgreSQL 9.3.11 on x86_64-unknown-linux-gnu, compiled by gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2, 64-bit
Postgis 2.1 

We have a mapfile like that : 

LAYER
NAME "ApportVertObs0"
GROUP "vigilance/apport_vert"
STATUS ON
TYPE RASTER
DATA "PG:host=serveurpg port=5432 dbname='pgsyst' user=''XXX' password='XXX' schema='XXX' table='msp_cehq_raster' mode='2' where='filename=\\'ApportsVerticauxObserves20160413.tiff\\''"
PROCESSING "DITHER=YES"
PROCESSING "NODATA=0"
PROCESSING "SCALE=AUTO"
DUMP TRUE
OFFSITE 0 0 0
TRANSPARENCY 75
... blablabl

when the query return no tile, the request (getcapabilities, getmap) give a error 500. 
should not return a blank image ? 

_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Ian Walberg | 14 Apr 18:22 2016

WFS layer - XML/JSON safe chars

Folks,

 

Can mapserver produce XML or JSON safe characters for WFS served data or do we need to ensure the source data has the escaped values.

 

We got tripped up today as there were some ‘&’ in our names which we had not considered.

 

Thanks

 

Ian

_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
vineet singh | 13 Apr 09:06 2016
Picon

tinyows does not show vector layer

Hi Everyone,

I'm using tinyows server configured with config.xml file. I'm adding vector layer to config file and for the first time it does not show newly added layer, but once i have restarted the tinyows server than it will show the layer.

So i have to restart tinyows after adding new layer. Anyone know how can I fix this so that it will work without restarting.

I'm runing TinyOWS as fast-cgi.

Here is config.xml :

<tinyows log="/home/vineet/Project/mygis/data/logs/wfs.log" log_level="15" online_resource="http://192.168.0.35:19090/maps" schema_dir="/home/vineet/Project/mygis/data/schema">

<pg dbname="mygis" host="localhost" password="abcd" port="19095" user="mygis"/>

<metadata name="MyGis Server" title="MyGis Server - WFS-T Service"/>

<contact email="contact <at> xxxx.com" name="MyGis Server" site="http://www.xxxxx.com/"/>

<layer retrievable="1"  writable="1" ns_prefix="tows" ns_uri="http://www.vizexperts.com/"  name="world_boundaries"

 title="World Borders" />

 </tinyows>


Thanks,

Vineet Singh

_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Gmane