scott159 | 20 Oct 08:22 2014
Picon

- Tile index

Hi,

I transfer this question to mapserver-users :
I want to use mapserver with spatial index in postgres/postgis. The mapfile looks like :

......

          LAYER
                NAME "footprint"
                STATUS ON
                TYPE POLYGON
                EXTENT -180 -90 180 90
                CONNECTIONTYPE postgis
                CONNECTION "dbname=test host=X.X.X.X port=5432 user='usr' password='pwd'"        
                DATA "the_geom FROM view USING UNIQUE id USING srid=4326"
                FILTER "the_geom is not null"
                PROCESSING "CLOSE_CONNECTION=DEFER"                
                OPACITY 100
                PROJECTION
                        "init=epsg:4326"
                END
                CLASS
                        NAME 'footprint1'
                        STYLE
                                WIDTH 2
                                OUTLINECOLOR 0 0 0
                                OPACITY 10
                        END
                END
                CLASS
(Continue reading)

Andrea Peri | 19 Oct 10:39 2014
Picon

Trouble with last dev in the GetFeatureInfo.

Hi,
I upgrade to the last dev of mapserver.

After this, I'm having some troubles when go to do Identify on a layer
with a GetFeatureInfo.

Now I'm havig this error:

[Sun Oct 19 10:32:25 2014].523176 msEvalExpression(): General error
message. Cannot evaluate expression, no item index defined.

I'm using a postgis to host the layer and this is the setting:

    CONNECTIONTYPE POSTGIS
    CONNECTION "host=localhost dbname=test user=test password=test port=5432"
    DATA "geometry from mytest.layer1 using unique gid srid=25832"
    FILTER "(FOGLIO like '%idtpn%')"
    VALIDATION
      'idtpn' '^[a-zA-Z0-9\-_]+$'
      'default_idtpn' '%'
    END

This setting work for me before, so I guess there is some change to do
in mapfile settings, but I don't understand what.

Any hints ?

Thx,

--

-- 
(Continue reading)

William Hudspeth | 19 Oct 02:28 2014
Picon

Mapserv executable and path on Ubuntu linux

Hello,

I have written my first mapfile, and I am trying to view a layer. I am 
using a time-enabled raster layer indexed in Postgis. I am a little 
confused about building the correct mapserv URL and referencing my 
mapfile. I am running Ubuntu linux 14.01, and trying to view my map from 
localhost. I have a path like this where I have the mapfile:

/var/www/pm25/public_html

The permissions on the mapfile are 755 with the owner myself, and the 
group is www-data.

I am not sure how to construct a URL to point to mapserv and the mapfile 
to see a map....

Thanks

--

-- 
William Hudspeth, PhD
Analyst-Programmer III
Earth Data Analysis Center
MSC01 1110, Bandelier Hall West 212
1 University of New Mexico
Albuquerque, NM 87131-0001
Tel: (505) 277-3622, ext. 249
Email: bhudspeth <at> edac.unm.edu

_______________________________________________
mapserver-users mailing list
(Continue reading)

Sean DiSanti | 17 Oct 19:04 2014

Converting a working mapserver request to a mapcache request

I have a page using esri maps that currently requests pre-generated
overlay images from a mapserver. That part is working perfectly, but now
we're looking to pass the requests through mapcache, and I'm having
trouble getting the requested tile. Any help would be greatly appreciated.
The working request to mapserver is:

http://dev.domain.com/cgi-bin/mapserv?map=/map/ahps/precip.map&shape_path=2014/10/16/nws_precip_1day_observed_20141016&mode=tile&tilemode=gmap&service=WMS&version=1.1.1&request=GetMap&Styles=default&SRS=EPSG:102100&width=256&height=256&format=image/PNG&TRANSPARENT=TRUE&layers=conus-raster&dpi=120&tile=8+12+5

and it is correctly handled by this mapfile:

MAP
	NAME "combined"
	STATUS ON

	SIZE 15000 7785
	SYMBOLSET "/shp/ahps/symbols/symbols35.sym"
	EXTENT -180 -90 180 90
	UNITS DD
	SHAPEPATH "/SHP"
	IMAGECOLOR 0 0 0
	TRANSPARENT TRUE

	#
	# Start of web interface definition
	#
	WEB
		METADATA
			"ows_enable_request" "*"
			"wms_transparent" "TRUE"
		END
(Continue reading)

Rahkonen Jukka (Tike | 17 Oct 09:19 2014
Picon

Re: [mapserver-dev] - Tile index

Hi,

I would say that a question like this belongs to mapserver-users list. If discussion leads to conclusion
that there is a bug in Mapserver the next step would be to create a ticket to github or continue discussion
about how to fix it best on mapserver-dev.

My guess is that you do not use the same mapfiles with your 6.4.1 and 6.5-dev on x64 wheezy.
The tileindex should be found from layer "panchro" but the mapfile in your message does not define that layer.

> TILEITEM "the_path"
> TILEINDEX "panchro"

-Jukka Rahkonen-

scott159 wrote:

> Hi,
> 
> I want to use mapserver with spatial index in postgres/postgis. The mapfile looks
> like :
> 
> ......
> 
>   	LAYER
> 		NAME "footprint"
> 		STATUS ON
> 		TYPE POLYGON
> 		EXTENT -180 -90 180 90
> 		CONNECTIONTYPE postgis
> 		CONNECTION "dbname=test host=X.X.X.X
(Continue reading)

Francesco Palermo | 16 Oct 17:04 2014
Picon

WMS rendering

Hello,
I'm experimenting the use of Mapserver as WMS and I'm encountering some 
problems on map rendering. I'm using a shapefile as a map source and 
it's a map of points (generated by a csv using ogr2ogr - Could I use 
directly csv with Mapserver? I don't know). I can't get the rendering of 
this map using for example QGIS or this URL in the browser (which I hope 
it's correct):
http://localhost/cgi-bin/mapserv?map=/home/francesco/shared/mapserver/wms.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG:4326&BBOX=9.2990,43.0105,9.4894,43.0524&WIDTH=500&HEIGHT=300&FORMAT=image/png&LAYERS=test&

This is the mapfile:
MAP
     NAME "test"
     STATUS ON
     SIZE 500 300
     IMAGETYPE PNG
     EXTENT 9.2990 43.0105 9.4894 43.0524
     UNITS METERS
     DEBUG 5
     PROJECTION
            "init=epsg:4269"
     END
     WEB
         TEMPLATE "template.html"
         IMAGEPATH "/var/www/html/tmp/"
         IMAGEURL "/tmp/"
         METADATA
             "wms_title"           "WMS Demo Server"
             "wms_onlineresource" "http://localhost/cgi-bin/mapserv?"
             "wms_srs"       "EPSG:42304 EPSG:42101 EPSG:4269 EPSG:4326"
             "wms_enable_request" "*"
(Continue reading)

Re: [EXTERNAL] Re: Symbols in KML outout

You also have to make sure that the IMAGEURL is a full web URL not just a
path.

Mike

On 10/16/14, 8:56 AM, "Eichner, Andreas - SID"
<Andreas.Eichner <at> sid.sachsen.de> wrote:

>Never used it but it seems the KML driver creates PNG images on the fly
>and returns them as href. This seems to be independent of the type of
>symbol. So you should make sure MS is able to write those images into
>/tmp or $MS_TEMPPATH. The "(null)" indicates that it was unable to do so.
>
>HTH
>________________________________________
>Von: mapserver-users-bounces <at> lists.osgeo.org
>[mapserver-users-bounces <at> lists.osgeo.org]&quot; im Auftrag von
>&quot;Peter Hopfgartner [peter.hopfgartner <at> r3-gis.com]
>Gesendet: Donnerstag, 16. Oktober 2014 10:09
>An: mapserver-users <at> lists.osgeo.org
>Betreff: Re: [mapserver-users] Symbols in KML outout
>
>Just as a quick fix, I'd propose to drop the href node if no reasonable
>value is given. Anything more elaborate can be added later on. Comments?
>
>Peter
>
>On 10/15/2014 11:57 AM, Peter Hopfgartner wrote:
>> From http://mapserver.org/output/kml_output.html#id2, it should be
>> possible to have icons for sysmbols. The pixmap of the ison should be
(Continue reading)

Peter Hopfgartner | 15 Oct 11:57 2014

Symbols in KML outout

 From http://mapserver.org/output/kml_output.html#id2, it should be 
possible to have icons for sysmbols. The pixmap of the ison should be 
referenced in the href node.
In my output, the href ode looks like:

     <href>(null)</href>

Is there anything I missed?

Regards,

Peter

--

-- 
Peter Hopfgartner
web  : http://www.r3-gis.com

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

Bill Hudspeth | 14 Oct 21:31 2014
Picon

Can't find mapserv.exe

Hello,

I installed mapserver 6.4.1 in Ubuntu 14.0.1 using synaptic package manager. I know it is installed on my
system. When I run

mapserv -v, I get:

MapServer version 6.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=GD
SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS SUPPORTS=RSVG
SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS
SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

When I search for the file (mapserv.exe) with locate or find, it is not found. I want to place a copy in my
cgi-bin, as follows:

/var/www/website/public_html/cgi-bin ....

What am I missing?

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

Richard Greenwood | 14 Oct 14:18 2014
Picon

ScribeUI

I got scribeui and the sample data installed. What's the password for the "default" workspace?

Thanks
--
Richard W. Greenwood, PLS
www.greenwoodmap.com
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Peter Hopfgartner | 14 Oct 11:58 2014

Problems compiling current git master on CentOS 6 due to lack of HarfBuzz

I'd like to test if https://github.com/mapserver/mapserver/issues/4980 
persists in the current development tree.

Trying to compile on CentOS6 with

mkdir build
cd build
cmake  -DWITH_KML=ON -DWITH_FREEBIDI=0 -DWITH_HARFBUZZ=0 ..

it fails, complaining for the lack of harfbuzz.

Currently I'm not aware of any "official" package of HarfBuzz for C6, so 
I'm struck at this point. Will HarfBuzz be a mandatory requirement for 
MapServer 7?

Regards,

Peter

--

-- 
Peter Hopfgartner
web  : http://www.r3-gis.com

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


Gmane