Ceyhun Ganioglu | 12 Aug 12:37 2014
Picon

Web Client

Hi,

First of all I would like to say "Hello" to everybody as I am a newbie of both MapServer and the mailing list.  I need some suggestions about the web based client to send WMS and WFS requests to Map Server to display map and database records.

I had a look at the internet and found some projects. But it takes unbelievable long time to read all documentations to see if it provides a few things I need. The basic functions I need are:

- Possible to list layers
- Solid zoom in/out functions
- Design/icons and display functions customizable
- Preferably written in PHP (not a must)

I won't say no if there's one provides more functions :)

So I wanted to ask which clients are good enough just like a daily chat with friends :) I hope I am not breaking any rules of the group at the first day.

Any suggestions?

Many thanks in advance
Ceyhun
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Ian Walberg | 12 Aug 00:53 2014

Multiline string error

Folks,

With Mapserver 6.5-dev from git and GDAL 1.9.1 the line below either does not draw or causes mapserv to error
and not render an image without an error message.

MULTILINESTRING ((-110.220980 38.982832, -110.220887 38.982863, -110.221614 38.982708,
-110.220980 38.982832),(-110.220980 38.982832, -110.220887 38.982863, -110.221614 38.982708,
-110.220980 38.982832))

Changing the final digit on either of the first or last lats/longs and it draws ok!

Any ideas?

Thanks

Ian

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

Basques, Bob (CI-StPaul | 11 Aug 19:49 2014
Picon
Picon

This seems like a dumb question, how do I convert ST_EXTENT (POSTGIS) results back into a Geometry for Mapsever?

Racked my brain on this last Friday, couldn't get anything to work from a Mapserver Mapfile.

I can get the numbers from POSTGIS just fine via PGADMIN, but they come back as a BOX entity which MapServer doesn't seem to know what to do with.   I tried casting but got no matching records.

MAPFILE fragment . . .

DATA "the_geom from (

                        select
                                st_extent(sub1.the_geom)::geometry as the_geom
                        from
                                loc_last as sub1
                        where
                                vname in (%asset_id%)  -- vname in ('2293','2297')

                        ) as subquery using unique the_geom using srid=200068"

In pgadmin, the above select returns polygon (per st_astext applied)  The subselect is grabbing a couple of points based on asset_id(s).

Thanks

bobb


_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Rahkonen Jukka (Tike | 11 Aug 15:13 2014
Picon

GetFeatureInfo error with native vector tileindex

Hi,

I have something like 10000 shapefiles which I have combined to one layer with a tileindex shapefile which
is created with ogrtindex utility. I can make WMS to render the layer fine both with the native Mapserver
tileindex connection and by reading the tileindex with OGR by using CONNECTIONTYPE OGR.  However,
GetFeatureInfo works well only with OGR connection to tileindex. The native tileindex throws
occasionally this error (record number varies, naturally).

msDBFReadAttribute(): DBASE file error. Invalid record number 231855.

Have anybody else experienced something similar? I know that all the shapefiles in the data directory are a
bit faulty because they are written with an old shapelib version, see GDAL ticket
http://trac.osgeo.org/gdal/ticket/5608. However, Mapserver in this case gives an error from
msDBFReadAttribute() and I do not know if it can have to do with the content length field of the .shx file.
Another detail is that the shapefiles in my data directory do not overlap but the bounding boxes stored
into the vector tileindex file do overlap. I also tried to make a small sample for demonstrating the issue
but unfortunately Mapserver works correctly with this dataset both through the native and OGR tileindexes.

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

Stefan Carl | 6 Aug 16:30 2014
Picon

cascading WMS

Dear list,
 
I try to build a cascading WMS, which uses layers from a remote WMS. This was easy to build in a mapfile by specify a Layer in the Layer section.
 
The remote WMS has over 400 layers and many goup layers in a layer tree.
 
My Question is: Is it possible to build a cascading WMS which loads all Layers of a remote WMS (the complete Layer tree) without specify the layers one by one.
 
Thank you for your help
 
Best Regards
Stefan
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Tamas Szekeres | 6 Aug 15:36 2014
Picon

MapServer reference/demo mapfile and data

Hi All,

I'm about to extend my MapServer IIS installer with some optional mapfile/data to demonstrate that the installed application is working. Do we have some kind of official demo/data for MapServer which is expected to work with all mapserver versions? In my understanding that kind of data should also coexist in github (just like for msautotest) with the corresponding branches and the map configuration(s)/data should always be adjusted according to the recent changes in the MapServer codebase.

For example the itasca demo would be a good candidate, but it doesn't seem work with the current MapServer release due to the configured ANNOTATION layers.

Such kind of up to date demo should also go to osgeo4w which has already been supported with the latest stable/daily builds of MapServer.

Best regards,

Tamas



_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Ben Crane | 5 Aug 11:36 2014
Picon

MapServer for Windows

Hey all,

Mapserver for Windows :)

I've seen a bit about this online but sometimes more information can be more confusing. I've used MS4W before and loved it but I have noticed the versions are getting far removed from the latest build and that concerns me. I would like to install MapServer (including the admin webpage (which made life a lot easier)) but the latest version - apparently there has been a fix to the PolygonSymbolizer stroke-opacity not working within Mapserver that I'd like to try out. I will be primarily using it to build a WMS service.

Can anyone suggest from personal experience which his the best route to go to get the latest Mapserver (including upgrades/new builds, etc) for Windows?

Cheers,
Ben
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Tom Price | 4 Aug 22:58 2014
Picon

Title on the legend?

Using C# Mapscript, _map.legend.label.setText("Title") ; doesn't set a title above an imbeded legend. The legend itself displays fine.

What am I missing?
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Cristiano Sumariva | 4 Aug 18:24 2014
Picon

Random error 500 over WMS mapscript?

I would like to known if some else suffered from random error 500 with apache and PHP mapscript.
If I copy the same tile URL and load it on another browser tab the image shows up without error.

Here a sample URL from production server:
http://www.ecologia.ufrgs.br/atlasdigital/mapa-ta/index.php/mapa/ows?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=m7&STYLES=&SRS=EPSG:4326&BBOX=-51.328125,-29.99300228455107,-51.240234375,-29.91685223307016&WIDTH=256&HEIGHT=256&FORMAT=image/png

I am overlaying these "WMS tile" on top of google maps.
The browser starts several concurrent requests.

I using the recent 6.4.1 mapserver compiled from source.

Already checked error logs to see if something traced but no error found.


_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Jachym Cepicky | 3 Aug 15:24 2014
Picon

creating new feature via tinyows and WFS-T

Hi,

I would like to create new feature (using OpenLayers 2, WFS-T) client,
but tinyows is refusing:

The request can be seen at http://pastebin.com/eaXSjfgd

The response is

 <ows:Exception exceptionCode='MissingParameterValue' locator='request'>
  <ows:ExceptionText>QUERY_STRING contains forbidden
characters</ows:ExceptionText>
 </ows:Exception>

Any hint, what could possible go wrong?

Maybe missing attributes? I'm dealing just with geometry, but still ...

Thanks

Jachym

--

-- 
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/pgp/JachymCepicky.pgp

Give your code freedom with PyWPS - http://pywps.wald.intevation.org
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Jachym Cepicky | 3 Aug 14:23 2014
Picon

tinyows and input src and OpenLayers WFS-T client

Hi,

I try to save some new-created features o modify existing once.

Data are stored in EPSG:5514 in postgis, tiny OWS is set to us other
SRSs as well:

 <DefaultSRS>urn:ogc:def:crs:EPSG::5514</DefaultSRS>
 <OtherSRS>urn:ogc:def:crs:EPSG::EPSG:4326</OtherSRS>
 <OtherSRS>urn:ogc:def:crs:EPSG::EPSG:3857</OtherSRS>
......

The OpenLayers.Map is in EPSG:3857, the layer as well, everything
works like a charm.

Until I start to save modified features (or create new ones), request
to the server goes in 3857, and the response is:

ERROR:  Geometry SRID (3857) does not match column SRID (5514)

Data are send in EPSG:3857, they were requested in EPSG:3857 before
and displayed correctly, but is seems, they are *not* transformed on
the server to target SRS, which is in my case EPSG:5514

Any hint? Do I have to transform the data on the client to target SRS?

Thanks

Jachym
--

-- 
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/pgp/JachymCepicky.pgp

Give your code freedom with PyWPS - http://pywps.wald.intevation.org
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Gmane