AW: Re: [UMN_MAPSERVER-USERS] AW: Re: [UMN_MAPSERVER-USERS] Beginner-application with wms usage?help please

Piero Cavalieri piero.cavalieri at HEIDI.IT
Tue Nov 8 07:02:11 PST 2005


Sorry, I didn't understood. I don't know what's the problem (maybe
srs/extent).
As always try to start with simple application, so to eliminate potential
problems.

Sorry...
    P.

CTS-Team ha scritto:

>thank you for you fast answer!
>i think there is a little misunderstanding.
>we want to build a WMS Client in html/php, the WMS Server is provided by
>www.geoland.at i want to generate a map like this:
>http://www.geoland.at/geolandWMS/service.aspx?
bbox=377676.524318283,435533.868010964,378664.743068283,436318.357594298&wid
th=500&height=300&layers=Orientierungskarte&Name=geoland_at_wms&Service=WMS&
Version=1.1.1&request=GetMap&srs=EPSG:31297&format=image/jpeg&styles=
>but in my client page (templ.html) it doesn't work if i want to integrate
it
>in my Client. So i tried to use a WMS layer defined in my geoland.map file,
>but i only get a blank - white map.
>i also will chech out the itasca example, thank you.
>
>
>best regards, norbert
>
>
>--------- Original-Nachricht --------
>Von: Piero Cavalieri <piero.cavalieri at HEIDI.IT>
>An: MAPSERVER-USERS at LISTS.UMN.EDU <MAPSERVER-USERS at LISTS.UMN.EDU>
>Betreff: Re: [UMN_MAPSERVER-USERS] AW: Re: [UMN_MAPSERVER-USERS]
>Beginner-application with wms usage?help please
>Datum: 08/11/05 10:22
>
>>In index.php, there's no php scripting at all, so you can change extension
>>to .html.
>>You are using html interface with no server side html generation, so I
>>don't understand the aspx extension you where using (it seems you are not
>>in .NET environment).
>>You are doing application like Itasca sample application, provided in
>>Mapserver site, so I suggest to have it running.
>>If you later want to use a scripting language like php, I suggest you
>
>start
>
>>with gmap sample application (if using scripting language to make
>
>requests,
>
>>it's different approach respect cgi).
>>
>>To try the cgi, with Apache, maybe something like:
>>
>>http://localhost/cgi-bin/mapserv.exe?
>>
>map=E:/itasca2/itasca2.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=Ge
tMap&LAYERS=a
>
>>Layer&
>>
>>
>>Piero
>>
>>
>>
>>CTS-Team ha scritto:
>>
>>>Hello, thank you for your fast answer!
>>>
>>>I have 3 files (which are attached), i'm running mapserver in my
>
>cgi-bin of
>
>>>my appache webserver.
>>>
>>>if you have the time to, please look at my files and maybe you can
>
>help me?
>
>>>
>>>thank you very much,
>>>regards norbert
>>>--------- Original-Nachricht --------
>>>Von: Piero Cavalieri <piero.cavalieri at HEIDI.IT>
>>>An: MAPSERVER-USERS at LISTS.UMN.EDU
>
><MAPSERVER-USERS at LISTS.UMN.EDU>
>
>>>Betreff: Re: [UMN_MAPSERVER-USERS] Beginner-application with wms
>
>usage?help
>
>>>please
>>>Datum: 07/11/05 17:54
>>>
>>>>Where is the wms request in:
>>>>
>>>>http://www.geoland.at/geolandWMS/service.aspx?
>>>>???
>>>>
>>>>Example request is:
>>>>
>>>>http://stage/Scripts/mapserv.exe?
>>>>
>>
>>map=E:/itasca2/itasca2.map&amp;SERVICE=WMS&amp;VERSION=1.1.1&am
p;amp;REQUEST=Ge
>
>>tMap&amp;LAYERS=D
>>>
>>>>TM&amp;
>>>>
>>>>If u are working with .NET in cgi mode, maybe u should do requests
>
>using:
>
>>>>
>>>>(HttpWebRequest) WebRequest.Create(queryString);
>>>>
>>>>where query string is like above, built from form like so:
>>>>
>>>>//LAYERS
>>>>for (int i=0; i&lt; layer.Items.Count; i++) {
>>>>  if (layer.Items[i].Selected) {
>>>>    layers += &quot;&amp;layer=&quot; +
>
>layer.Items[i].Value;
>
>>>>  }
>>>>}
>>>>queryString += layers;
>>>>
>>>>and so on for other relevant things.
>>>>
>>>>Piero.
>>>
>>
>>
>>
>>
>>
>



More information about the MapServer-users mailing list