Oliver Christen | 4 Sep 14:28 2014

Re: how to make symbol rotate with the map?

a bit easier way to do it is to use mapserver substitution to recover 
the map angle and calculate the final angle value directly in the 
postgres data string :

DATA "geom FROM (SELECT ..., (%map_angle%::float+angle)*-1 AS angle
             FROM table
             WHERE condition)
             as foo USING UNIQUE id USING srid=21781"

...

METADATA
   ...
   "default_map_angle" "0"
   "map_angle_validation_pattern" "[0-9.\-]*" # for map angle
END

CLASS
     STYLE
         SYMBOL 'bla.png'
         SIZE 120.0
         ANGLE [angle]
         OFFSET 0 60.000000
     END
END

maybe there is an even easier way to do it?

> dear all
>
(Continue reading)

Solly Vuso | 4 Sep 13:45 2014
Picon

The requested URL was not found

Dear Mapservers

I was installing MS4W and apache run perfectly until I unzip the application to apache . Apache shows that there is one application running and when I open it the message was the url was not found;

Can someone please assist me on how to solve this

Thank you

_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Jessica Lapointe | 3 Sep 19:22 2014

ScribeUI: MapServer Mapfile Development Made Easy Version 1.2

Hi list!

The 2014 Google Summer of Code has ended, and this summer's changes are available in the new 1.2 release of ScribeUI!

You can download this new release on ScribeUI's github [1].

What's new?
------------------
- The javascript got some major makeover
- The plugins are nicely working again, and even more flexible then before! A tutorial is available for anyone wanting to add new features to ScribeUI! [2]
- Lots of bugfixes such as:
  - Group reordering dialog now supports multiple selection
  - The editor runs much smoother when working in large mapfiles
  - The layer groups are not hard-coded anymore, the front-end now detects the map name and requests it instead of the previously used "default" group. 
  - You can now delete POIs!
  - Fixed some annoying with the POIs and zoom levels that caused the map to crash. 
  - And others!

This update is available on the demo server [3] (don't hesitate to create new workspaces and maps as everything resets once a day).

This summer allowed a lot of bugfixes to be made for ScribeUI, which is in line with our initial goal to make it as stable as possible.

My co-mentor for this project, Julien-Samuel Lacroix, will be presenting ScribeUI at the FOSS4G, we hope a lot of people will attend his presentation!


Thanks a lot to the users who opened issues or left feedback this summer!

[2] Plugin creation tutorial: http://scribeui.org/plugin-creation.html

Jessica Lapointe
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Francesco Martinelli | 3 Sep 15:26 2014
Picon

How to Mapserver 6.4 on Windows?

Hi,
I would like to install Mapserver 6.4.x on a Windows OS.
What should I do? ... I immagine "recompile",
but can someone post some more details on specific steps to follow.

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

nando_gcia | 3 Sep 14:11 2014
Picon

Update mapserver in Ubuntu 12.04

Hi, I have Ubuntu Server 12.04 and I have installed Mapserver 6.0.1-2 with
synaptic, but how I can upgrade to version 6.4.1-2? Thanks.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Update-mapserver-in-Ubuntu-12-04-tp5159874.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

Geograma | 3 Sep 10:32 2014

Oracle layer partially drawn

Hello,

With MapServer for Windows (3.0.6 updated to MapServer 6.2.0-beta4), I’m
writing a “.map” that uses data from an Oracle 11g schema. All looks OK but,
when a map is requested, only some features are drawn. In the log there is
no error or warning. Anybody knows what is happening? (any suggestion will
be appreciated)

Attached are two images, one with the map that should be got (data in a
PostGis server), another with the map got from Oracle and the “.map” used to
generate the second image.

<http://osgeo-org.1560.x6.nabble.com/file/n5159828/oracle.png> 

<http://osgeo-org.1560.x6.nabble.com/file/n5159828/postgis.png> 

Tha ".map" file is as  follows:

MAP
   NAME TEST
   EXTENT -1450047 2763292 2122072 5658922
  SYMBOLSET "symbols.sym"
  FONTSET "font.list"
   LEGEND
      IMAGECOLOR -1 -1 -1
      LABEL
         FONT "vera"
         ANGLE FOLLOW
         COLOR 0 0 0
         ENCODING "UTF-8"
         TYPE truetype
         SIZE 8
      END
      STATUS ON
      TRANSPARENT ON
   END   
   WEB
      METADATA
         "wms_encoding" "UTF-8"
         "wms_title" "title"
         "wms_abstract" ""
         "wms_srs" "epsg:23030 epsg:4326"
         "wms_enable_request" "*"
         "wms_onlineresource"
"http://v-0049:8080/fcgi-bin/mapserv.exe?map=C:\\ms4w\\maps\\test.map"
         labelcache_map_edge_buffer "-10"
      END
   END
   PROJECTION
      "init=epsg:23030"
   END

   #CONFIG MS_ERRORFILE "c:\\ms4w_3_0_6\\maps\\logs\\test.log"
   #DEBUG 5

   IMAGECOLOR 153 179 204

   OUTPUTFORMAT
	  NAME png
	  DRIVER "AGG/PNG"
	  MIMETYPE "image/png"
	  IMAGEMODE RGB
	  EXTENSION "png"
	  FORMATOPTION QUALITY=100
	  FORMATOPTION "INTERLACE=OFF"

   END

   LAYER
      NAME "geo_r3_500K-1M"
      STATUS ON
      TYPE LINE
      CONNECTIONTYPE oraclespatial
      CONNECTION "user/pass <at> service"
      DATA "geom from geo_r3 using unique id srid 23030"
	  MAXSCALEDENOM 749210
      MINSCALEDENOM 149750
      TRANSPARENCY 100
      SIZEUNITS pixels
	  DUMP TRUE
      PROJECTION
         "init=epsg:23030"
      END
      CLASS
         STYLE 
            INCLUDE 'defs/roundedline.def'
            COLOR 170 170 170
            WIDTH 5
         END
         STYLE 
            INCLUDE 'defs/roundedline.def'
            COLOR 255 255 115
            WIDTH 2
         END
         NAME "default"
      END
      METADATA
         "wms_title" "public.geo_r3_500K-1M"
         "wms_abstract" "Capa del Servicio WMS"
         "wms_extent" "-971136.125 3134652.25 1051167.75 4846924.0"
         "gml_include_items" "all"
      END
      PROCESSING "CLOSE_CONNECTION=DEFER"
   END # Layer
END # Map File

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Oracle-layer-partially-drawn-tp5159828.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
Antti J. Lind | 2 Sep 17:01 2014
Picon

Debugging mapserver 6.2

Hello list,

I try to debug mapserver (version 6.2.2) without success.

I have set on map-file
    CONFIG "MS_ERRORFILE" "/tmp/ms_error.txt"
    DEBUG 5
and run web-application.

Log file shows up on /tmp-directory, but it's allways empty.

ll /tmp/ms_*
-rw-r--r-- 1 apache apache 0 Sep  2 12:16 /tmp/ms_error.txt

Ideas?

--
Antti J. Lind

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

Peter Freimuth | 1 Sep 15:49 2014

searching for a solution to render polygons crossing the antimeridan

Hi,

i think this problem was solved already thousand times but i could not find a solution via google.

 

We have polygons in a postgis 2.1 db describing the satellite images which sometimes cross the antimeridan. These polygons shall be rendered to a map via WMS calls using google Mercator in the map client (or any other projection supported by the WMS). The problem is that the polygons are drawn incorrect (see attached image which is the outcome of the following call

http://db5.devel.intern/cgi-bin/catalog_view.fcgi?SERVICE=WMS&VERSION=1.1.1&REQUEST=getmap&layers=coveragepols_test&bbox=19068286.820724,-2282715.4123002,20749901.442696,-1809417.3332432&srs=epsg:3785&format=image/png&width=800&height=800)

 

Any hint on documentation or how to overcome this problem is very welcome!

Kind regards,

Peter

 

 

These are the details: umn ms 6.4.1

## layer defintion

    LAYER

        NAME "coveragepols_test"

        TYPE POLYGON

        STATUS ON

        DEBUG 5

        UNITS dd

        SIZEUNITS PIXELS

        TOLERANCE 3

        TOLERANCEUNITS PIXELS

        PROCESSING "CLOSE_CONNECTION=DEFER"

        CONNECTIONTYPE POSTGIS

        CONNECTION"user=… password=…. dbname=… host='localhost' port=5432"

        DATA "coverage_poly FROM (SELECT id as image_id, coveragepoly as coverage_poly

                                                                     FROM public.view_test

                                                                   ) foo USING UNIQUE image_id USING SRID=4326"

        PROJECTION

            "init=epsg:4326"

        END

        METADATA

            "ows_title" "Coverage Polygons"

            #"ows_extent" "-20037508.34 -20037508.34 20037508.34 20037508.34"

            "ows_extent" "-180 -89 180 89"

            "wms_srs" "EPSG:3875 EPSG:900913 EPSG:4326" #output

        END

        CLASS

            NAME "Coverage Polygons"

            #STYLE

            #   COLOR 231 182 21

            #END

            STYLE

                OUTLINECOLOR 10 255 0

                WIDTH 2

           END

        END

    END

 

 

 

 

##used data

CREATE TABLE view_test

(

  id bigserial NOT NULL,

  catalog_id integer,

  dataset_id integer,

  image_path character varying(256) NOT NULL,

  coveragepoly geometry(MultiPolygon,4326),

  CONSTRAINT view_test_pkey PRIMARY KEY (id)

)

WITH (

  OIDS=FALSE

);

ALTER TABLE view_test

  OWNER TO searchdb_admin;

 

INSERT INTO public.view_test (catalog_id,dataset_id,image_path,coveragepoly)

VALUES (15829509, 2061925, '', st_multi(st_geomfromtext('POLYGON((180.655999799 -15.8486300543,180.606999598 -16.0696710923,180.558000402 -16.2907050895,180.509000201 -16.5117270167,180.459000201 -16.7327328505,180.41 -16.9537185677,180.36 -17.1746801448,180.310999799 -17.3956135586,180.260999799 -17.6165178033,180.210999799 -17.8373888554,180.160999799 -18.0582267149,180.110999799 -18.2790293703,180.06 -18.4997958157,180.01 -18.7205260511,179.991351841 -18.8027016697,180.235999799 -18.8380677932,180.478000402 -18.8720267552,180.716999598 -18.9047223899,180.735999799 -18.8224783746,180.785 -18.6015670891,180.834000201 -18.3806216053,180.883000402 -18.1596439348,180.931999598 -17.9386350835,180.980999799 -17.7175950513,181.03 -17.4965258499,181.079000201 -17.2754304969,181.128000402 -17.054309998,181.175999799 -16.8331663649,181.225 -16.6120056327,181.273000402 -16.3908308187,181.321999598 -16.1696449407,181.37 -15.9484540334,181.134000201 -15.9164302957,180.896999598 -15.8832025749,180.655999799 -15.8486300543))',4326)));

INSERT INTO public.view_test (catalog_id,dataset_id,image_path,coveragepoly)

VALUES (15836184, 2063096, '', st_multi(st_geomfromtext('POLYGON((179.545984711 -15.9171514786,179.495243412 -16.1403429893,179.444430698 -16.3635103601,179.39354657 -16.5866535908,179.342587005 -16.8097726816,179.291548984 -17.0328726614,179.240427479 -17.2559535305,179.189217461 -17.4790142828,179.137916918 -17.7020488835,179.086521827 -17.9250553209,179.035031181 -18.1480315832,178.983387648 -18.3712140414,179.243388654 -18.4105864011,179.497604104 -18.4480185073,179.746907061 -18.4837567894,179.797483404 -18.2603590827,179.847922953 -18.0371695836,179.898278012 -17.8139509153,179.948551599 -17.5907060954,179.998746731 -17.3674381412,180.049000201 -17.1441520821,180.099000201 -16.9208519413,180.149000201 -16.6975347013,180.199000201 -16.4741983504,180.249000201 -16.2508398713,180.298000402 -16.0274612754,180.053000402 -15.9924049487,179.802257091 -15.9557151479,179.545984711 -15.9171514786))',4326)));

INSERT INTO public.view_test (catalog_id,dataset_id,image_path,coveragepoly)

VALUES (17349264, 2322838, '', st_multi(st_geomfromtext('POLYGON((179.512290179 72.1542419267,179.144996874 71.9140629718,178.786510145 71.6732398732,178.436519681 71.431805025,178.09473374 71.1897945653,177.760579284 70.9470277758,178.409691839 70.8557411573,179.049974648 70.7633884077,179.683210657 70.6697257057,180.037 70.9090975825,180.398 71.1476343103,180.768 71.3855111027,181.146 71.6226895184,181.534 71.8591349187,180.869 71.9588213447,180.196 72.0571058194,179.512290179 72.1542419267))',4326)));

INSERT INTO public.view_test (catalog_id,dataset_id,image_path,coveragepoly)

VALUES (17068914, 2257845, '', st_multi(st_geomfromtext('POLYGON((179.039884317 66.7567958853,178.848036178 66.5444771894,178.659274879 66.3319824792,178.473510114 66.1193169453,178.290653052 65.9064856728,178.110617892 65.6934935118,177.933322353 65.4803448547,177.758687153 65.2670434883,177.586635006 65.0535926383,177.417090186 64.8399952046,177.249979201 64.6262540807,177.085232004 64.4123723214,176.922783052 64.1983530566,176.762120618 63.9835922069,176.601173726 63.752017263,176.440226834 63.5204423192,176.279279942 63.2888673753,176.11833305 63.0572924315,175.957386158 62.8257174876,175.796439266 62.5941425438,175.635492375 62.3625675999,175.474545483 62.1309926561,175.313598591 61.8994177122,175.794181146 61.8349421828,176.269645981 61.7699080473,176.741344538 61.7041913201,176.91309487 61.9341579796,177.084845202 62.1641246391,177.256595534 62.3940912986,177.428345866 62.6240579581,177.600096198 62.8540246176,177.77184653 63.0839912771,177.943596862 63.3139579366,178.115347194 63.5439245961,178.287097526 63.7738912556,178.458501351 63.9870341862,178.631810997 64.1994137729,178.807570808 64.4116291457,178.98584849 64.6236763672,179.166716008 64.8355512763,179.350248692 65.047249762,179.536524184 65.2587677865,179.725621852 65.4701011843,179.917623217 65.6812454324,180.113 65.8921955223,180.311 66.1029459981,180.512 66.3134910974,180.716 66.5238248589,180.164 66.6023721443,179.605404276 66.6799870814,179.039884317 66.7567958853))',4326)));

 

 

INSERT INTO public.view_test (catalog_id,dataset_id,image_path,coveragepoly)

VALUES (15836249, 2063096, '/BrowseUDM/ams/2014/3/21/1395403157193100/324329_131001_browse.jpg', st_multi(st_geomfromtext('POLYGON((179.838948 -17.340608,179.835209 -17.557215,180.06104 -17.5607,180.064513 -17.344047,179.838948 -17.340608))',4326)));

INSERT INTO public.view_test (catalog_id,dataset_id,image_path,coveragepoly)

VALUES (15836252, 2063096, '/BrowseUDM/ams/2014/3/21/1395403157193100/324329_6031228_browse.jpg', st_multi(st_geomfromtext('POLYGON((179.928689 -16.910725,179.932063 -17.127389,180.157366 -17.123996,180.153734 -16.907378,179.928689 -16.910725))',4326)));

INSERT INTO public.view_test (catalog_id,dataset_id,image_path,coveragepoly)

VALUES (15836230, 2063096, '/BrowseUDM/ams/2014/3/21/1395403157193100/324329_6031528_browse.jpg', st_multi(st_geomfromtext('POLYGON((179.918861 -16.260704,179.922088 -16.477383,180.146628 -16.474126,180.143154 -16.257492,179.918861 -16.260704))',4326)));

 

 

 

 

 

BlackBridge AG | Sitz Berlin | Amtsgericht Charlottenburg - Registergericht | HRB 152785 | Aufsichtsratsvorsitzender: David Westwood | Vorstand: Ryan Johnson
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Francesco Martinelli | 1 Sep 15:04 2014
Picon

Issue on deploying mapserver 6.4.1 from Ubuntu to Windows OS

Hi all,
I developed a java/jsp application on Ubuntu, using the latest version
of Mapserver (6.4.1)
I then prepared the WAR, and deployed the application to a web server
Apache Tomcat 7.0.54

As I didn't find the mapscript.dll for Mapserver 6.4.1,
I used the file mapscript.dll released with MS4W (which should support
Mapserver 6.0),
but I got the error:
<<no javamapscript in java.library.path>>

I then replaced the file mapscript.jar with those released by MS4W, and
the application started working.

However, as I tested my application with Mapserver 6.4.1, I wonder if it
were available a mapscript.dll for Mapserver 6.4.1.

Thank you for your suggestions,
Francesco.

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

Andrea Peri | 31 Aug 14:23 2014
Picon

The support of the pattern option of PEN from FeatureStyle specs in STYLEITEM

Hi,
I'm testing the support of MapServer to the FeatureStyle spec with the
STYLEITEM option of mapserver.

From my test seem that mapserver is not supporting the
"pattern" of the PEN command.

I try this command from FeatureStyle doc.

PEN(c:#FF0000,w:2px,p:"10px 5px 4px 5px") - long/short dash line

But Mapserver dont seem to support the pattern W attribute in the

The line is always solid.

Is this confirmed ?

--

-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Christian Braun | 27 Aug 09:35 2014
Picon

Job Vacancy: Geospatial Software Engineer in Luxembourg

Dear all,
our Institute is looking for a candidate as a Geospatial Software Engineer.

Work will focus on the development of a geospatial web based framework, implementing OGC standards for sensor, data, catalogue and modelling services, enabling service based scenario simulation and decision support tools.

Further information and contact details can found here:

Please apologize cross-posting.

kind regards,
Christian Braun
R+D Engineer
Environmental Modelling, Geocomputation

Tel: +352- 425991-6608
Mobil: +49-179-6845896
Mail: christian.braun <at> tudor.lu

Resource Centre for Environmental Technologies,
Public Research Centre Henri Tudor,
6A, avenue des Hauts-Fourneaux,
L-4362 Esch-sur-Alzette, Luxembourg

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

Gmane