[mapserver-users] Reminder: Call for Submissions FOSS4G 2016 ends 21st of March

2016-03-05 Thread till . adams

Hi Mapserver-Community,

not wanting to bother you, but also like to give everybody the chance to 
contribute to this years FOSS4G event! Hand in your talk, workshop, map 
or poster until 21st of March. You can find all relevant details and 
links on our "breaking news" page:

http://2016.foss4g.org/home.html#breaking-news

If you have any question, don't hesitate contacting us.

Come and build bridges in Bonn,

Till
(Chair of FOSS4G 2016)


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] FOSSGIS 2015: Call for Papers FOSSGIS 2015 verl?ngert bis zum 29.11.2014

2014-11-11 Thread Till Adams
Hallo FOSSGIS-Aktive, OSM-Mitstreiter und alle Open Source GIS und Data 
Aktive,


wir verlängern den Call for Papers für die #FOSSGIS2015 bis zum 
29.11.2014. [http://www.fossgis.de/konferenz/2015/callforpapers/].
Direkt zur Abstrakteinreichung geht es hier: 
[http://pb.fossgis.de/submission/FOSSGIS2015].


Wir freuen uns auf Eure Beiträge, die benötigt werden, um auch für die 
FOSSGIS 2015 ein interessantes, vielseitiges und spannendes Programm für 
alle Teilnehmer zu erstellen.


Wer mehr über Münster erfahren möchte, schaut in den nächsten Tagen auf 
der Konferenzhomepage vorbei.


Natürlich dürft Ihr diese Nachricht in die entsprechenden Mailinglisten, 
in denen Ihr kommuniziert verteilen. Vielen Dank dafür.


Die Aktivitäten und News zur FOSSGIS 2015 gibt es auch auf Twitter - 
[https://twitter.com/FOSSGIS2015].


Freundliche Grüße
vom FOSSGIS-Orgateam
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] mapfile for OpenStreetMap

2014-02-07 Thread Till Adams

Dear Andrea,

there must be somewhere the files for the WMS shootout which are based 
on OSM and the structure delivered by imposm.


To find soemwhere here:
http://wiki.osgeo.org/wiki/Benchmarking_2011/

We've setup a osm wms which was originally based on these mapfiles but 
is different. So if you do not find them,. come back to me and I will 
look for our mapfiles.


That one looks good:
http://svn.osgeo.org/osgeo/foss4g/benchmarking/wms/2011/mapserver/osm-google.map

Regards, Till


Am 07.02.2014 09:39, schrieb Andrea Peri:

Hi,

there is some available mapfile able to render the OpenStreetMap datasets ?

I found something but it is using the mapscript, and python.

I not use the mapscript and like to found a mapfile only sample.


--
-
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users



--
NEWS:
-> map-it.ulm.de! Das Mitmachportal für Ulm

-> GO Mobile - jetzt WebGIS auch auf Smartphones
-> Jetzt OpenSource! SHOGun - das JavaBackend für WebGIS Anwendungen


terrestris GmbH & Co. KG
Puetzchens Chaussee 56
53227 Bonn
Germany

Till Adams
Geschaeftsfuehrung

Tel:+49 (0)228 / 962 899-52
Mobile: +49 (0)151 / 25394429
Fax:+49 (0)228 / 962 899-57
Skype:  tilladams

ad...@terrestris.de
http://www.terrestris.de
Amtsgericht Bonn, HRA 6835


Komplementaerin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Layer oder class nicht drucken

2013-12-16 Thread Till Adams

Hallo Herr Kellermann,

das scheint mir eher eine Frage Ihrer Architektur und auch Ihres Clients 
zu sein, als eine Aufgabe des Mapservers. Für Mapserver ist es erstmal 
egal, ob der eine Karte zum gucken oder drucken ausliefert, das weiß der 
in dem Moment vermutlich garnicht.


Grüße, Till Adams


english:

Dear Mr. Kellermann,

I guess this is more a matter of your general architecture and/or client 
than a matter of mapserver. In general for mapserver there is no 
difference between a request for showing and a request for printing - 
normally mapserver even does not know whether the client wants to show 
or print a map.


Reagrds, Till Adams




Am 16.12.2013 11:44, schrieb mark kellermann:

Hallo,

gibt es eine Möglichkeit einen Layer so einzurichten, dass dieser nicht
gedruckt werden kann?

mfG

Mark Kellermann



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users



--
NEWS:
-> map-it.ulm.de! Das Mitmachportal für Ulm

-> GO Mobile - jetzt WebGIS auch auf Smartphones
-> Jetzt OpenSource! SHOGun - das JavaBackend für WebGIS Anwendungen


terrestris GmbH & Co. KG
Puetzchens Chaussee 56
53227 Bonn
Germany

Till Adams
Geschaeftsfuehrung

Tel:+49 (0)228 / 962 899-52
Mobile: +49 (0)151 / 25394429
Fax:+49 (0)228 / 962 899-57
Skype:  tilladams

ad...@terrestris.de
http://www.terrestris.de
Amtsgericht Bonn, HRA 6835


Komplementaerin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] pixmap legend

2013-11-19 Thread Till Adams

Hi Fons,

it looks like mapserver does not find your pixmap-file.

You know that the path

"/pixmap/..."

means, that mapserver looks for this file in the servers root directory?

If the pixmap is stored relative to the mapfile, remove the leading "/" 
in your path:


"pixmap/"

Till



Am 19.11.2013 14:19, schrieb Fons Arts:

Hi list,

I trying to overrule a  hardcoded legendicon Az (annotation) with a
pixmap in the class section.



map file
LEGEND
   STATUS on
   KEYSIZE 26 13
END

 LAYER
 CONNECTIONTYPE postgis
 NAME "bag_adres"
 GROUP "bag_adres"
 CONNECTION
*
 DATA "geom from public.bag_adres USING UNIQUE oid"
 TYPE ANNOTATION
 TOLERANCE 10
 MAXSCALE 3500
 MINSCALE 0
 STATUS ON
 LABELITEM "huisnummers"
 TEMPLATE "blank.html"
 CLASS
 NAME 'Huisnummers'
*KEYIMAGE "/pixmap/adres.png"*
 LABEL
 COLOR 0 0 0
 SHADOWCOLOR 255 255 255
 TYPE truetype
 FONT arialvet
 SIZE 8
 POSITION CC
 PARTIALS FALSE
 ANTIALIAS TRUE
 OFFSET 0 0
 END
 END
 END

The result is a white image.



thanks in advance.
gr Fons


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users



--
NEWS:
-> map-it.ulm.de! Das Mitmachportal für Ulm

-> GO Mobile - jetzt WebGIS auch auf Smartphones
-> Jetzt OpenSource! SHOGun - das JavaBackend für WebGIS Anwendungen

----
terrestris GmbH & Co. KG
Puetzchens Chaussee 56
53227 Bonn
Germany

Till Adams
Geschaeftsfuehrung

Tel:+49 (0)228 / 962 899-52
Mobile: +49 (0)151 / 25394429
Fax:+49 (0)228 / 962 899-57
Skype:  tilladams

ad...@terrestris.de
http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
----

Komplementaerin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Saving an image from a query

2012-10-30 Thread Till Adams
Hi David,

depending on your environemnt you use for your server you may use any
scripting language, when you pass the image-request to a script, e.g. use

-php
-ruby
-python
-java
...

either of them is offering any method to save images.

For simpe php you find some hints and code-examples here:
http://www.sitepoint.com/forums/showthread.php?533586-php-save-image-to-folder-from-web

Regards,

Till




On 30.10.2012 16:04, David Quinn wrote:
> Hi List,
> 
> I'm trying to understand how to save an image as a result of a query.
> One approach that I have experimented with is using `wget` to save the
> file but I've been getting an error message (I asked a question on
> this here: 
> http://gis.stackexchange.com/questions/37813/how-to-save-mapserver-output-to-a-file
> )
> 
> Is there a better way than using "wget
> http://mysite.com/mapserv.cgi?map=../../mapfiles/demo.map&layer=land&mode=map&FORMAT=image/png";
> to store a image resulting from a query?
> 
> After using "wget" my log shows the following message:
> 
> [Tue Oct 30 14:49:02 2012].580951 msWCSDispatch20(): wrong service (none)
> [Tue Oct 30 14:49:02 2012].581041 msWCSParseRequest(): request is KVP.
> [Tue Oct 30 14:49:02 2012].581049 msWCSDispatch(): SERVICE and REQUEST
> not included
> [Tue Oct 30 14:49:02 2012].581064 mapserv(): Web application error.
> Traditional BROWSE mode requires a TEMPLATE in the WEB section, but
> none was provided.
> 
> Thanks,
> David
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 

-- 
NEWS:
-> Support OpenLayers 3 !
 http://openlayers.org/blog/2012/10/17/openlayers-3-call-for-funding/

-> GO Mobile - jetzt WebGIS auch auf Smartphones
-> Bald OpenSource! SHOGun - das JavaBackend für WebGIS Anwendungen


terrestris GmbH & Co. KG
Puetzchens Chaussee 56
53227 Bonn
Germany

Till Adams
Geschaeftsfuehrung

Tel:+49 (0)228 / 962 899-52
Mobile: +49 (0)151 / 25394429
Fax:+49 (0)228 / 962 899-57

ad...@terrestris.de
http://www.terrestris.de
Amtsgericht Bonn, HRA 6835


Komplementaerin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Export map into pdf

2012-08-22 Thread Till Adams
Hi Sharad,

we use MapFish-print-servlet, which is the best software I know for
generating maps in pdf.
-> http://www.mapfish.org/doc/print/

But this is in Java, so the other side of the river ;-)

Reagrds, Till




On 22.08.2012 11:39, sharad wrote:
> hi all,
> i am developing web application using mapserver with C#/Mapscript.
> how can I export map into pdf file using c#/mapscript?
> 
> I will appreciate your reply.
> 
> thanks
> sharad
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://osgeo-org.1560.n6.nabble.com/Export-map-into-pdf-tp4996952.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 

-- 

NEWS:
-> GO Mobile - jetzt WebGIS auch auf Smartphones
-> Bald OpenSource! SHOGun - das JavaBackend für WebGIS Anwendungen


----
terrestris GmbH & Co. KG
Puetzchens Chaussee 56
53227 Bonn
Germany

Till Adams
Geschaeftsfuehrung

Tel:+49 (0)228 / 962 899-52
Mobile: +49 (0)151 / 25394429
Fax:+49 (0)228 / 962 899-57

ad...@terrestris.de
http://www.terrestris.de
Amtsgericht Bonn, HRA 6835


Komplementaerin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Passing an additional parameter via URL for WMS request - doesn't work anymore with new mapserver?

2012-08-21 Thread Till Adams
Stefan,

this is a working example from a layer:

METADATA
  [...]
   'LEVEL_validation_pattern' '1|1,2|1,2,3|1,2,3,4|1,2,3,4,5'
   'default_LEVEL' '1,2'
  [...]

This sets the Keyword LEVEL which is added to your URL to the
Default-Value "1,2" and allows the values defined in the validation
pattern "LEVEL_validation_pattern"

Regards, Till

On 21.08.2012 16:41, Stefan Schwarzer wrote:
> Thanks so much for the quick responses!
> 
> If I understand it correctly, I need to specify "DATAPATTERN" in the MAP 
> part, in order to use the parameter in the DATA request:
> 
>   Doc is saying: LAYER: DATA (must validate against DATAPATTERN)
> 
> 
> which would look like this:
> 
>   SHAPEPATH '/www/xxx/data' 
>   FONTSET '/www/xxx/htdocs/mod_map/etc/fonts.txt' 
>   SYMBOLSET '/www/xxx/htdocs/mod_map/etc/symbols.sym' 
>   DATAPATTERN '^[0-9]'
> 
> 
> with the DATA request like:
> 
>   DATA "the_geom FROM (SELECT xxx FROM capitals WHERE capitals.id_country 
> <> %id_country%) AS foo USING UNIQUE gid USING srid=4326"
> 
> 
> Hmmm…. But that doesn't work.
> 
> msDrawMap(): Image handling error. Failed to draw layer named 
> 'capitals_mask'.
> msPostGISLayerWhichShapes(): Query error. Error executing query: ERROR:  
> syntax error at or near ")"
> LINE 1: ...capitals WHERE capitals.id_country <> %id_country%) AS foo w…
> 
> 
> Can you shed some light on it? I am not really familiar with the regular 
> expressions. I am just passing an integer.
> 
> Thanks for any hints!
> 
> Stef
> 
> 
> 
> 
> On Aug 21, 2012, at 4:10 PM, Till Adams wrote:
> 
>> Stefan,
>>
>> from mapserver 6 on you must define the default values for the
>> parameters in your metadata-tag and also provide a validation-pattern.
>>
>> You'll find more here:
>> http://mapserver.org/cgi/runsub.html
>>
>> Regards, Till
>>
>>
>>
>> On 21.08.2012 16:07, Stefan Schwarzer wrote:
>>> Hi there,
>>>
>>> I used to pass a parameter in a WMS request in order to specify which 
>>> country should be highlighted. The MAPFILE would read that and, via an 
>>> EXPRESSION, set all country but the selected one to a bit of opacity:
>>>
>>> DATA "the_geom FROM (SELECT xxx FROM capitals WHERE capitals.id_country 
>>> <> %id_country%) AS foo USING UNIQUE gid USING srid=4326"
>>>
>>> That doesn't work anymore after upgrading our machine. So, I am not 100% 
>>> sure if this comes from mapserver, or if there is anything else involved. 
>>> But it seems more like a mapserver problem, as the error-message is
>>>
>>> 
>>> msDrawMap(): Image handling error. Failed to draw layer named 
>>> 'capitals_selected'.
>>> msPostGISLayerWhichShapes(): Query error. Error executing query: ERROR:  
>>> syntax error at or near "%"
>>> LINE 1: ...als.gid FROM capitals WHERE capitals.id_country = %id_countr...
>>> ^
>>>
>>> msValidateParameter(): Regular expression error. Parameter pattern 
>>> validation failed.
>>> msValidateParameter(): Regular expression error. Parameter pattern 
>>> validation failed.
>>> msValidateParameter(): Regular expression error. Parameter pattern 
>>> validation failed.
>>> msValidateParameter(): Regular expression error. Parameter pattern 
>>> validation failed.
>>> 
>>>
>>>
>>> Thanks for any hints/clarification.
>>>
>>> Stefan
>>> ___
>>> mapserver-users mailing list
>>> mapserver-users@lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>>
>>
>> -- 
>>
>> NEWS:
>> -> GO Mobile - jetzt WebGIS auch auf Smartphones
>> -> Bald OpenSource! SHOGun - das JavaBackend für WebGIS Anwendungen
>>
>>
>> 
>> terrestris GmbH & Co. KG
>> Puetzchens Chaussee 56
>> 53227 Bonn
>> Germany
>>
>> Till Adams
>> Geschaeftsfuehrung
>>
>> Tel: +49 (0)228 / 962 899-52
>> Mobile:  +49 (0)151 / 25394429
>> Fax: +49 (0)228 / 962 899-57
>>
>> ad...@terrestris.de
>> http://www.terrestris.de
>> Amtsgericht Bonn, HRA 6835
>> -----

Re: [mapserver-users] Passing an additional parameter via URL for WMS request - doesn't work anymore with new mapserver?

2012-08-21 Thread Till Adams
Stefan,

from mapserver 6 on you must define the default values for the
parameters in your metadata-tag and also provide a validation-pattern.

You'll find more here:
http://mapserver.org/cgi/runsub.html

Regards, Till



On 21.08.2012 16:07, Stefan Schwarzer wrote:
> Hi there,
> 
> I used to pass a parameter in a WMS request in order to specify which country 
> should be highlighted. The MAPFILE would read that and, via an EXPRESSION, 
> set all country but the selected one to a bit of opacity:
> 
>   DATA "the_geom FROM (SELECT xxx FROM capitals WHERE capitals.id_country 
> <> %id_country%) AS foo USING UNIQUE gid USING srid=4326"
> 
> That doesn't work anymore after upgrading our machine. So, I am not 100% sure 
> if this comes from mapserver, or if there is anything else involved. But it 
> seems more like a mapserver problem, as the error-message is
> 
> 
> msDrawMap(): Image handling error. Failed to draw layer named 
> 'capitals_selected'.
> msPostGISLayerWhichShapes(): Query error. Error executing query: ERROR:  
> syntax error at or near "%"
> LINE 1: ...als.gid FROM capitals WHERE capitals.id_country = %id_countr...
>  ^
>  
> msValidateParameter(): Regular expression error. Parameter pattern validation 
> failed.
> msValidateParameter(): Regular expression error. Parameter pattern validation 
> failed.
> msValidateParameter(): Regular expression error. Parameter pattern validation 
> failed.
> msValidateParameter(): Regular expression error. Parameter pattern validation 
> failed.
> 
> 
> 
> Thanks for any hints/clarification.
> 
> Stefan
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 

-- 

NEWS:
-> GO Mobile - jetzt WebGIS auch auf Smartphones
-> Bald OpenSource! SHOGun - das JavaBackend für WebGIS Anwendungen



terrestris GmbH & Co. KG
Puetzchens Chaussee 56
53227 Bonn
Germany

Till Adams
Geschaeftsfuehrung

Tel:+49 (0)228 / 962 899-52
Mobile: +49 (0)151 / 25394429
Fax:+49 (0)228 / 962 899-57

ad...@terrestris.de
http://www.terrestris.de
Amtsgericht Bonn, HRA 6835


Komplementaerin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Reprojection from ETRS89 to ED5030

2009-12-02 Thread Till Adams

David,

did you define the epsg the WMS should be valid for in the wms metadata 
section ?

Should be like this:

 'WMS_SRS' 'epsg:23030 epsg:25830'

If you have the direct getMap request and you didn't do the above, 
mapserver reports an error like

"projection library error. no system list,errno: 2"



Regards, Till

Hi everyone!

I have some problems to reproject WMS service from ETRS89 to ED5030 in tools
like ArcGis or gvSIG. I´ve defined all the layers with PROJECTION 25830
(ETRS89).

As majority knows there is an internal mapserver´s file called epsg
(\ms4w\proj\nad) where It´s possible to define diferents reprojections. The
definition line to define reprojection from ED5030 to ETRS89 is the
following one in my server:

<23030> +proj=utm +zone=30 +ellps=intl +towgs84=-87,-98,-121,0,0,0,0
+units=m +nadgrids=sped2et.gsb +no_defs <>

Therefore I suppose I have to change this line to inverse reprojection (from
ETRS89 to ED5030):

<25830> +proj=utm +zone=30 +ellps=GRS80 +units=m +no_defs  <>

,but I have no clue about it.

Any ideas?

Thanks in advance.

David


  



--
--
terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
ad...@terrestris.de http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
-

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] MapServer dynamic map creation - Is this possible?

2009-09-28 Thread Till Adams

Dan Walton schrieb:
I am new to WMS, so bear with my ignorance please. 


I have a service that processes imagery and outputs large TIFF + World file
images (5-40 MB), and some shapefiles. Currently these images have no
pyramid or tiling. I would like to further make the images web map friendly
and my thought is that WMS and MapServer is the way to go. We will likely be
creating dozens or perhaps hundreds of these images per day. This needs to
run on Windows alongside or within IIS. 


So I have a volley of questions for anyone who might have answers. Feel free
to skip any:

1. Can MapServer even do this, that is, host several large images and allow
new ones to be added on the fly via the api? 
  
If there is a process, which generates the imags anyway, I think it's 
the easiest way to let this procedure
write either a new layer to your mapfile or generate a new mapfile on 
it's own. This could be requested as WMS or sth. like that.



2. Can each image be a map layer or does each image need its own mapserver
instance?
  

each image can be a layer on it's own


3. Does the OSGeo4W include utilities to tile and pyramid the images or do I
have to arrange for that myself?
  

Yes, check for Gdal Tools and check also http://www.gdal.org/

Regards, ill


Thanks,
Dan Walton
gisfiretools.com




  



--
--
terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
ad...@terrestris.de http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
-

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: SV: [mapserver-users] Mapserver consuming Google Maps

2009-08-26 Thread Till Adams

Chris,

regarding the non-webbased clients you are right...


On Wed, Aug 26, 2009 at 09:20:30AM +0200, Till Adams wrote:
  

Niels-Peter,

I really do not see the need for this.

All things, which are fun regarding Mapserver are not possible with  
GoogleMaps, e.g. reprojection or define your map layout in an easy way.  
Even if you would write some piece of code, which would enable mapserver  
getting that google tiles as a datasource you'll have at least a slower  
service than pure google and - if reprojecting the google stuff - you'll  
have "unreadable" maps with distorted labels.


So beside the fact Chris already mentioned - I think if you have a  
client, which is able to show Mapserver services AND google map services  
together, you're fine, or what is your intention?



Many clients *can't* do this, and it does cause a problem for those clients.
For example, it's difficult for qgis to consume Google Maps tiles, last
I looked, but it can consume a WMS easily, so you can imagine using
MapServer as the integration point. 

Web-based clients aren't the only types of clients that MapServer 
WMSes have, and are the only clients that can consume Google Maps. 

  



--
--
terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
ad...@terrestris.de http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
-

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: SV: SV: [mapserver-users] Mapserver consuming Google Maps

2009-08-26 Thread Till Adams

Niels-Peter,

the features you mention (turning on/off layers, changing order of 
layers) are for me more client side features than serverside- or 
mapserver-features - which brings us back to the client... ;-)


If you are looking for a free basemap you may check openstreetmap (OK, 
no aerial images so far, but also in progress: 
http://wiki.openaerialmap.org/OAM_2009 )


Regards, Till



Hi Till

I see the google maps tiles as a way of getting a free basemap. You are
properly right regarding distroted labels when reprojecting googlemaps -
depending on where you are in the world and the final projection. But at
least a pure sattelite image would ok.

I could make a client to consume both Mapserver and Googlemaps, but I would
like to do it on the server side and be able to use MapServer features, eg.
turning on/off layers, changing order of layers and so on.

Regards Niels-Peter


-Oprindelig meddelelse-
Fra: Till Adams [mailto:ad...@terrestris.de] 
Sendt: 26. august 2009 09:21

Til: Niels-Peter Jensen
Cc: mapserver-users@lists.osgeo.org
Emne: Re: SV: [mapserver-users] Mapserver consuming Google Maps


Niels-Peter,

I really do not see the need for this.

All things, which are fun regarding Mapserver are not possible with 
GoogleMaps, e.g. reprojection or define your map layout in an easy way. 
Even if you would write some piece of code, which would enable mapserver 
getting that google tiles as a datasource you'll have at least a slower 
service than pure google and - if reprojecting the google stuff - you'll 
have "unreadable" maps with distorted labels.


So beside the fact Chris already mentioned - I think if you have a 
client, which is able to show Mapserver services AND google map services 
together, you're fine, or what is your intention?


Regards, Till

  
Yes, it could be a violation of terms, but not if the copyright notice 
and links still is there - or am I wrong on that ? At least, thats 
this is what the Openlayers community thinks. I think it would be a 
very nice if that could be accomplished with MapServer too.


Niels-Peter


-Oprindelig meddelelse-
Fra: Christopher Schmidt [mailto:crschm...@metacarta.com]
Sendt: 25. august 2009 17:14
Til: Niels-Peter Jensen
Cc: mapserver-users@lists.osgeo.org
Emne: Re: [mapserver-users] Mapserver consuming Google Maps


On Tue, Aug 25, 2009 at 04:42:27PM +0200, Niels-Peter Jensen wrote:
  


Hi mapserver users

Does anybody know if there has been done work to let MapServer 
consume

Google maps ? I know that this is possible in OpenLayers (an example:
http://openlayers.org/dev/examples/google.html), but with MapServer I can
only se it the other way around, MapeServer serving maps til a GoogleMaps
application by WMS.

  

Doing so would be a violation of the terms of use of Google Maps.

Regards,
  




  



--
--
terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
ad...@terrestris.de http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
-

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: SV: [mapserver-users] Mapserver consuming Google Maps

2009-08-26 Thread Till Adams

Niels-Peter,

I really do not see the need for this.

All things, which are fun regarding Mapserver are not possible with 
GoogleMaps, e.g. reprojection or define your map layout in an easy way. 
Even if you would write some piece of code, which would enable mapserver 
getting that google tiles as a datasource you'll have at least a slower 
service than pure google and - if reprojecting the google stuff - you'll 
have "unreadable" maps with distorted labels.


So beside the fact Chris already mentioned - I think if you have a 
client, which is able to show Mapserver services AND google map services 
together, you're fine, or what is your intention?


Regards, Till


Yes, it could be a violation of terms, but not if the copyright notice and
links still is there - or am I wrong on that ?
At least, thats this is what the Openlayers community thinks.
I think it would be a very nice if that could be accomplished with MapServer
too.

Niels-Peter


-Oprindelig meddelelse-
Fra: Christopher Schmidt [mailto:crschm...@metacarta.com] 
Sendt: 25. august 2009 17:14

Til: Niels-Peter Jensen
Cc: mapserver-users@lists.osgeo.org
Emne: Re: [mapserver-users] Mapserver consuming Google Maps


On Tue, Aug 25, 2009 at 04:42:27PM +0200, Niels-Peter Jensen wrote:
  

Hi mapserver users

Does anybody know if there has been done work to let MapServer consume 
Google maps ? I know that this is possible in OpenLayers (an example:

http://openlayers.org/dev/examples/google.html), but with MapServer I can
only se it the other way around, MapeServer serving maps til a GoogleMaps
application by WMS.



Doing so would be a violation of the terms of use of Google Maps.

Regards,
  



--
--
terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
ad...@terrestris.de http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
-

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] analysis web using Map Server

2009-07-07 Thread Till Adams

Dear Gito,

UMN is not a real "GIS application" itsself, UMN is more capable for 
showing processed GIS data in the internet. There are some possibilities 
to interact with PostGIS, but if you really want to interpolate data 
from points to surfaces, you should think about using a GIS in your 
backend (e.g. GRASS, which supports a PHP, python (and some others 
based) interface to web-applications).
As an example we use GRASS as backend so that users may interpolate 
time-series of measured soil-moisture data and present this data via UMN 
Mapserver in an OpenLayers based client.


So, what you need is an architecture, not purely UMN.
Correct me, if I'm wrong... -)

Hope this points you in a direction

Till



Hi all,

I am just introduced to Map Server, I've developed a web server with 
Fedora 7 and would like to develop a tool for map analysis in web by 
using Map Server.. Advise please, how to make a map interpolation with 
Map Server? and also the requirement for developing the interpolation?


Thanks
Gito Ginting 





___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
  



--
--
terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
ad...@terrestris.de http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
-

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] UMN and SVG output

2009-05-18 Thread Till Adams

Daniel,

many thanks for your help :- ) - and a beer in Sydney for you,

regards, Till
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] UMN and SVG output

2009-05-15 Thread Till Adams

Daniel,

firstr of all many thanks for your reply, we already did that:
The upper is the SVG code comes from the mapserver, where the SVG 
appears in black, the lower one is the correct one. The differene 
between the files is the style definition ' style="fill: none;" ' which 
is missing in the upper SVG. Both mapservers are 4.10, are compiled with 
the flag "--with-svg" and use exactly the same mapfile could it be 
that there are any differences in the linked GD library or the 
uinterface beteen UMN and GD ...?


Regards - Till


xmlns="http://www.w3.org/2000/svg"; 
xmlns:xlink="http://www.w3.org/1999/xlink";>










xmlns="http://www.w3.org/2000/svg"; 
xmlns:xlink="http://www.w3.org/1999/xlink";>









Till Adams wrote:

Dear list,

we have a problem with (old but working) Mapserver 4.10 version and 
svg output transparency:


On one system (solaris 10) everything works fine.
On the other system (solaris 10) with exactly the same mapfile, the 
originally as transparent defined polygons

(COLOR -1 -1 -1) come out in black.

I guess that GD library is responsible for creating the SVG. Did 
anybody had this problem before or does anybody have an idea which 
component may cause this error?




Till,

Did you really mean SVG? SVG is a vector format which is rendered by 
the browser, are you using the same browser to access both servers?


I'd suggest you start by comparing the SVG output from both to try to 
figure the difference (it's XML-ish) between the output from your two 
servers, and then we can go from there.


Daniel



--
--
terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
ad...@terrestris.de http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
-----

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] UMN and SVG output

2009-05-14 Thread Till Adams

Dear list,

we have a problem with (old but working) Mapserver 4.10 version and svg 
output transparency:


On one system (solaris 10) everything works fine.
On the other system (solaris 10) with exactly the same mapfile, the 
originally as transparent defined polygons

(COLOR -1 -1 -1) come out in black.

I guess that GD library is responsible for creating the SVG. Did anybody 
had this problem before or does anybody have an idea which component may 
cause this error?


Thanks in advance,

regards, Till

--
--
terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
ad...@terrestris.de http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
-

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] SDE support for mapserver

2009-05-11 Thread Till Adams

Medve Zsolt schrieb:

Hy all!!

How can i get SDE support for mapserver? i look at the supoorts i 
have, but theres is no SDE,

I have to dowload files or how?
pls help me

Best Regard
Zsolt
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


your gdal must be compiled with access to some arcsde libraries.

See:
http://ms.gis.umn.edu:8081/ms_plone/docs/reference/vector_data/arcsde

Regards, Till

--
--
terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
ad...@terrestris.de http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
-

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] avl files

2009-04-28 Thread Till Adams

percy schrieb:
give it fake directories as if you are using MS4W, then edit the 
mapfile it generates and substitute your linux paths...

percy

On 4/28/2009 1:43 PM, Paul Alarcon wrote:
Helllo is me again, i tried it but it ask me for a installed 
mapserver on
windows and i use a linux server for mapserver, there is another 
software

for make it for linux server ?
___

Dear Paul,

sorry, I'm the one who crimed Avein ages ago. I really forgot about that 
software.
Avein is made for use in ArcView GIs 3.x only, so you'll need this piece 
of software to run Avein. Undortunately Avein's last version goes on 
Mapserver v4.2 or so, which should'nt matter, but there are no 
opportunities for use of newer UMN functions.


Also AveiN! does not translate avl files, it is only made as an 
interface between ArcViwew 3 projects and UMN.
A newer version for ArcGIS called Amein! was made 4 years ago, there you 
can translate *some* of the symbols and patterns, but also not all. So 
the way to go (if softwarei s there() might be to use ameiN1, to iport 
the avl files into ArcGIs and try with that. Or forget about that and 
you try on your own :-)


Regards,
Till




--
--
terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
ad...@terrestris.de http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
-

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] maybe off-topic: gdal question size of tiff

2009-03-30 Thread Till Adams

Dear list,

may be off topic here, butI'm sure all the gdal experts are also 
wqatching this list:


I try to downscale (gdal_translate) tiff images to lower resolution. I 
got several which have more than 3 px in one direction - and these 
are the ones causing problems, all others made with the same software 
(uncompressed) work fine.


Gdalinfo works fine on all images, this is the output:

Size is 32500, 23317
Coordinate System is `'
Metadata:
TIFFTAG_SOFTWARE=Adobe Photoshop CS3 Macintosh
TIFFTAG_DATETIME=2009:02:20 09:17:28
TIFFTAG_XRESOLUTION=400
TIFFTAG_YRESOLUTION=400
TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
Image Structure Metadata:
INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left  (0.0,0.0)
Lower Left  (0.0,23317.0)
Upper Right (32500.0,0.0)
Lower Right (32500.0,23317.0)
Center  (16250.0,11658.5)
Band 1 Block=32500x1 Type=Byte, ColorInterp=Red
Band 2 Block=32500x1 Type=Byte, ColorInterp=Green
Band 3 Block=32500x1 Type=Byte, ColorInterp=Blue


When trying to convert (gdal_translate) or cut (gdalwarp) them, I get 
this error on images > 3px in x OR y:


Input file size is 32500, 23317
0ERROR 1: berlin.tif:2273407500: Invalid strip byte count, strip 0
ERROR 1: TIFFReadEncodedStrip() failed.
ERROR 1: IReadBlock failed at X offset 0, Y offset 0
ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 0

The images are NOT bigger than 4GB!!
Is there anyone who has any clue, what is going wrong?

Thanks a lot!

Till


--
terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
ad...@terrestris.de http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
-

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] How do you configure a server to have two or more different MapServers running on it?

2009-01-15 Thread Till Adams

John Mitchell schrieb:

Hi,

How do you configure a server to have two or more different MapServers 
running on it?


Thanks,

John

--
John J. Mitchell


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
  

John,

no problem, if you have one (physical or virtual) server and one cgi-dir 
just give the mapservers different namens

e.g. "mapserv52", "mapserv50", ...

If there is just one server (and one CPU) keep in mind, that every 
mapserver-thread runs on it's own, so there is no difference between 
having two mapserv's in one cgi-dir or just one, which wil be started twice.


Regards, Till


--
--
terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
ad...@terrestris.de http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
-

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Display many Raster maps

2008-09-25 Thread Till Adams

Clemens,

use gdaltindex to create a raster catalog for your rasters, this is a 
shapefile, in the example called "index.shp".

(need to install gdal-utils)

Then create a layer like this:

LAYER
 NAME 'luftbild'
 TYPE RASTER
 TILEINDEX '/path/to/index.shp'
 TILEITEM 'location'
 STATUS ON

 METADATA
   'WMS_SRS' 'epsg:[EPSG]'
   WMS_TITLE 'Rasters ..'
 END

 PROJECTION
   'init=epsg:[EPSG]'
 END

END

Reagrds, Till


Dear List,

I got a couple of Rater images (geoTIFF) and I wonder how I can get 
them all into one mapserver application. It's actually a big map 
composed of many tiles. The mapfile actually allowas only one 
TIFF-file to display, or am I completely wrong?


thanks,
Clemens / TU Darmstadt





--
------
terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
[EMAIL PROTECTED] http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
-----

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Parameters in memory

2008-08-29 Thread Till Adams

Jacolin Yves schrieb:

Hi list,

I have a strange issue using mapserv. I think this will be difficult to 
reproduced, but I try asking in the list ;)


I am using mapserver as WMS service with Openlayers and tilecache. We are 
moving our application to the release 2 and so we are cleaning the spatial 
configuration. For example, we changed the SHAPEPATH parameter 
from /var/local/cartoweb/transparens_immo/cres to /var/local/spatial/.


This is a very good example because my problem come from this changing. So we 
moved spatial data in this new directory and changed SHAPEPATH in the 
mapfile. This change works for almost all layers. I don't know why, some 
layers don't want to use the new SHAPEPATH and I get this kind of error when 
requesting WMS layer (here named ortho_92):


<<<<

SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd";>



msDrawMap(): Image handling error. Failed to draw layer named 
'ortho_92'.
msDrawRaster(): Unable to access file. 
(/var/local/cartoweb/transparens_immo/cres/Referentiel/Bd_Ortho/92/92-2003-0595-2415-LA2E-C07.ecw)



  

Is this something known? I am using mapserver 4.10.1 on Debian Etch. Mapserver 
come from C2C repository. thanks for your help.


Regards,

Y.
  

Yves,

sounds like you are using tileindexes? Within these the path in 
attribute "location" maybe wrong

because unchanged?

Till

--
--
terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
[EMAIL PROTECTED] http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
-

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] show only some point on the map

2008-08-28 Thread Till Adams

Steve,

thats good info, I didn't even try that till now
although, most of the time we have a database, so we do not care :-)

thanks and happy to see you soon in Cape Town --

Till

The IN operator works with all datasources since it's an expression.
I've done this before and it works fine although there are probably some
practical limits in the number of features you'd want to deal with this
way. If you can group the IDs into one var (e.g ids) and then use an
expression like:

  EXRESSION ('[myid] in '%ids')

That should work...

Steve

  

valerio vianello <[EMAIL PROTECTED]> 08/28/08 5:16 AM >>>


Hi Till,

maybe I forgot to tell you that my data source is a shapefile and not a
database.

so if I have good understood the only solution that I have to try is to
use an SLD file.

Regards to group the point in such a way in not possible in this case
becouse I have a certain number of points and in each request the user
should be able to select the point to show.

br,
Valerio.

--- Gio 28/8/08, Till Adams <[EMAIL PROTECTED]> ha scritto:
Da: Till Adams <[EMAIL PROTECTED]>
Oggetto: Re: [mapserver-users] show only some point on the map
A: [EMAIL PROTECTED]
Cc: "mapserver" 
Data: Giovedì 28 agosto 2008, 10:41

valerio,

OK, I think you may use more than one subvar, but if there are too many,
...

And there is no way to group the points together in any attribute, which

are shown together?

One solution might be to generate a temporary view in a database (if the

points come out of such) and then
send the name of the view via subvar to your file.

Even better, generate a string out of your selected gid's like

1,3,45,567,789,790

Send this  Stringvia subvar to your mapfile and use a "WHERE gid IN ('

YOURSTRING ') in your SQL in the mapfile...


Another possible solution might be...hack around and not really fine, 
but write a temporary SLD file - which only works when using mapserver 
as WMS server.
You can let a script write a temporary-SLD file, where your filter is 
set to your ids and apply this to your getmap request 
(&SLD=path/tp/your_name.xml).


To ensure, that only user A uses his filtered SLD, we normally used the 
PHP session ID or sth similar for naming the sld.


Many ideas, find the best way for you...
Regards, Till

  

Dear Till,

Thanks for the suggestion.

But with variable substitution I am able to specify only one parameter



  

like

EXPRESSION ([FNR]=%myid%) .

in this case on the map will be shown only one point (if myid is 
unique) or a group of points (if myid is shared among them)


in my case I want show the points with myid1,myid2,myid3...

how I should set this into the mapfile ?

regards

Valerio
--- *Gio 28/8/08, Till Adams /<[EMAIL PROTECTED]>/* ha scritto:

Da: Till Adams <[EMAIL PROTECTED]>
Oggetto: Re: [mapserver-users] show only some point on the map
A: [EMAIL PROTECTED]
Cc: "mapserver" 
Data: Giovedì 28 agosto 2008, 09:35

Dear Valerio,

I guess what you need is this:
http://mapserver.gis.umn.edu/docs/reference/mapfile/variable_sub

So add a variable substitution and insert it into your expression


in
the 
  

CALL section of your layer.

Regards,
 Till
> Dear list,
>
> I have this question:
>
> I have a map file in which there is a POINT layer that uses a 
> shapefile as datasource. Is possible with mapserver to do a

request to 
  

> show only some point on the map ?
>
> I know that i can show a group of points or only one point using



  

> FILTER and CLASSITEM into the map file but my goal is a bit

different. 
  

> In my case each poi has an ID into the shapefile, and I want


make
a 
  

> request to serve  the follow question:
>
> Show on map the poi with ID 3,6,8.
>
> any suggetsion ?
>
> P.S I'm using CGI interface maybe is this possible to do with
mapscript ?
>
> thanks everybady
>
> Valerio
>
>
   > > Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e


ti
da 
  

>
 tanto spazio gratuito per i tuoi file e i messaggi
> http://mail.yahoo.it
>



  

>
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>   



-- 
--

terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
[EMAIL PROTECTED

Re: [mapserver-users] show only some point on the map

2008-08-28 Thread Till Adams

valerio,

OK, I think you may use more than one subvar, but if there are too many, ...

And there is no way to group the points together in any attribute, which 
are shown together?


One solution might be to generate a temporary view in a database (if the 
points come out of such) and then

send the name of the view via subvar to your file.

Even better, generate a string out of your selected gid's like

1,3,45,567,789,790

Send this  Stringvia subvar to your mapfile and use a "WHERE gid IN (' 
YOURSTRING ') in your SQL in the mapfile...



Another possible solution might be...hack around and not really fine, 
but write a temporary SLD file - which only works when using mapserver 
as WMS server.
You can let a script write a temporary-SLD file, where your filter is 
set to your ids and apply this to your getmap request 
(&SLD=path/tp/your_name.xml).


To ensure, that only user A uses his filtered SLD, we normally used the 
PHP session ID or sth similar for naming the sld.


Many ideas, find the best way for you...
Regards, Till


Dear Till,

Thanks for the suggestion.

But with variable substitution I am able to specify only one parameter 
like


EXPRESSION ([FNR]=%myid%) .

in this case on the map will be shown only one point (if myid is 
unique) or a group of points (if myid is shared among them)


in my case I want show the points with myid1,myid2,myid3...

how I should set this into the mapfile ?

regards

Valerio
--- *Gio 28/8/08, Till Adams /<[EMAIL PROTECTED]>/* ha scritto:

Da: Till Adams <[EMAIL PROTECTED]>
Oggetto: Re: [mapserver-users] show only some point on the map
A: [EMAIL PROTECTED]
Cc: "mapserver" 
Data: Giovedì 28 agosto 2008, 09:35

Dear Valerio,

I guess what you need is this:
http://mapserver.gis.umn.edu/docs/reference/mapfile/variable_sub

So add a variable substitution and insert it into your expression in the 
CALL section of your layer.


Regards,
 Till
> Dear list,
>
> I have this question:
>
> I have a map file in which there is a POINT layer that uses a 
> shapefile as datasource. Is possible with mapserver to do a request to 
> show only some point on the map ?

>
> I know that i can show a group of points or only one point using 
> FILTER and CLASSITEM into the map file but my goal is a bit different. 
> In my case each poi has an ID into the shapefile, and I want make a 
> request to serve  the follow question:

>
> Show on map the poi with ID 3,6,8.
>
> any suggetsion ?
>
> P.S I'm using CGI interface maybe is this possible to do with
mapscript ?
>
> thanks everybady
>
> Valerio
>
>
> __
> Do You Yahoo!?
> Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da 
>

 tanto spazio gratuito per i tuoi file e i messaggi
> http://mail.yahoo.it
> 
>
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>   



-- 
    --

terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
[EMAIL PROTECTED] http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
-----

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till
 Adams

  



__
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da 
tanto spazio gratuito per i tuoi file e i messaggi
http://mail.yahoo.it 



--
--
terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
[EMAIL PROTECTED] http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
-

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] show only some point on the map

2008-08-28 Thread Till Adams

Dear Valerio,

I guess what you need is this:
http://mapserver.gis.umn.edu/docs/reference/mapfile/variable_sub

So add a variable substitution and insert it into your expression in the 
CALL section of your layer.


Regards, Till

Dear list,

I have this question:

I have a map file in which there is a POINT layer that uses a 
shapefile as datasource. Is possible with mapserver to do a request to 
show only some point on the map ?


I know that i can show a group of points or only one point using 
FILTER and CLASSITEM into the map file but my goal is a bit different. 
In my case each poi has an ID into the shapefile, and I want make a 
request to serve  the follow question:


Show on map the poi with ID 3,6,8.

any suggetsion ?

P.S I'm using CGI interface maybe is this possible to do with mapscript ?

thanks everybady

Valerio


__
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da 
tanto spazio gratuito per i tuoi file e i messaggi

http://mail.yahoo.it


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
  



--
--
terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
[EMAIL PROTECTED] http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
-

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Displaying points & labels

2008-04-18 Thread Till Adams
First try to just visualize your points without any classes, so you can 
say, the error is NOT the classification.


Try if epsg and/or extent is all right.

regards, Till

Hi!

I'd like displaying points and labels. My points are on MySql database and I 
use them with OGR.
The connexion is OK and I think my mapfile too.
But I don't see the points and the labels.

My codes can be see on: 
http://www.forumsig.org/showthread.php?p=144085#post144085

I hope find someone to help me.

Have a nice day.

Clement

PS: Excuse me for my English, I'm a frenchy!

_
Créez votre disque dur virtuel Windows Live SkyDrive, 5Go de stockage gratuit !
http://www.windowslive.fr/skydrive/___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
  



--
--
terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
[EMAIL PROTECTED] http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
-

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Connexion between Mapserver & MySql

2008-04-18 Thread Till Adams

Clement,

look on the mapserver homepage, I've sent a mysql/ovf howto document 
there last year. It describes step by step what to do.

http://mapserver.gis.umn.edu/docs/howto/debian-odbc-mysql

There is another one:
http://mapserver.gis.umn.edu/docs/howto/ogrmysql

Hope that helps!
Regards, Till


Hi!

I would like use Database data to print point on my map.
I searched on the web and found the method to that.
So, I have the following code in a .ovf file:

-



MYSQL:gpvfr,user=gpvfr2,password=,host=localhost,port=3306,tables=terrain 
SELECT a.oaci, lat, 'long', nom FROM terrain t,airfields a WHERE a.oaci = t.oaci


EPSG:27582

wkbPoint



 
-


And when I run ogrinfo on this file, I obtain:

---
ERROR 1: MySQL connect failed for: 
gpvfr,user=gpvfr2,password=31p87qr2,host=localhost,port=3306,tables=terrain;airfields
Access denied for user 'gpvfr2'@'localhost' (using password: YES)
FAILURE:
Unable to open datasource `var/www/html/ms/map_files/mysql.ovf' with the 
following drivers.
  -> ESRI Shapefile
  -> MapInfo File
  -> UK .NTF
  -> SDTS
  -> TIGER
  -> S57
  -> DGN
  -> VRT
  -> REC
  -> Memory
  -> BNA
  -> CSV
  -> GML
  -> GPX
  -> KML
  -> GeoJSON
  -> GMT
  -> SQLite
  -> MySQL
  -> AVCBin

--

I'm sure of the connexion informations and MySql is installed on my system and 
GDAL library has been built with ogr option.

Where is the problem?

Thanks for your help and sorry for my English, I'm frenchy :)
Sincerely yours
Clement

_
Découvrez les profils Messenger de vos amis !
http://home.services.spaces.live.com/___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
  



--
--
terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
[EMAIL PROTECTED] http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
-----

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Need shape files

2008-03-14 Thread Till Adams

Milo,

great - I would have bet you are American ;-)
-->http://www.openstreetmap.org/?mlat=31.5836903251737&mlon=36.535194397&zoom=7


Amit,

see "gisdatadepot.com" as a point to start for downloading rough (and 
probaly not up-to-date) Geodata countrywise.

In OpenStreetmap there is poor information about Jordan.

Regards, Till



Hello Amit,

I can provide a variety of GIS data, but what or where is JORDAN? 
Please give me some details.


Another thing you can do is install one of the opensource Desktop GIS 
(uDig, OpenJump, QuantumGIS) and create your own data.


Kind regards,
Milo van der Linden

amit tripathi schreef:


Hi,

I need to get shape files for JORDAN(preferably open source for 
testing purpose). Please guide me from where i can find these?


Regards,
Amit




  __
Sent from Yahoo! Mail.
The World's Favourite Email http://uk.docs.yahoo.com/nowyoucan.html
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

  



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users




--

**
   digitale Karten für Jeden!
 terrestris bietet OpenLayers KnowHow!
http://maps.terrestris.de/webgisfueralle   
*

--
terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
[EMAIL PROTECTED] 
http://www.terrestris.de

Amtsgericht Bonn, HRA 6835
-

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Linux installation

2008-03-06 Thread Till Adams

Hans Castorp schrieb:


Hi to all,

 

Until now I was using mapserver only under Windows environments but 
now I need to change to a Linux platform.


My knowledge about Linux is very limited, so I will need some help:

 


Is there any distribution recommended in order to run mapserver over it??

Is there any tutorial or manual explaining how to install mapserver 5 
w/postgis over Linux??


 

 


Thanks in advance.

 


Hans Castorp

 



No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.21.5/1314 - Release Date: 
05/03/2008 18:38




___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
 


Hans,

on this question you'll get as advices many  as there are 
linux-distributions.


There are some "HowTo's" explaining step by step installation of 
mapserver under different linux distributions
on the mapserver homepage: http://mapserver.gis.umn.edu/docs/howto see 
"compilation"


There are not all really up-to date, but as a borderline, they are good 
enough.


If you want to hear my advice as well - Ubuntu or Debian is quite easy 
to install.


Regards, Till


--

**
   digitale Karten für Jeden!
 terrestris bietet OpenLayers KnowHow!
http://maps.terrestris.de/webgisfueralle   
*

--
terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
[EMAIL PROTECTED] 
http://www.terrestris.de

Amtsgericht Bonn, HRA 6835
-

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users