[Geoserver-users] WMS getMap Using PHP

Hi,
I am trying to do generate a getMap request using POSTed XML data using PHP.
This will return an image that i can save, diplay etc.

I have no problem forming the XML request and already use PHP to POST WFS
requests. But I cant find any way of using PHP to get the WMS image!

Has anyone managed this? Anyone got any code I could see?

Many thanks,
Steve

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/WMS-getMap-Using-PHP-tp5063829.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

I did some googling "php wms client" and I found a few examples to start with.
Better tha nothing ...

Regards,
Simone Giannecchini

Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

On Wed, Jul 3, 2013 at 4:19 PM, steve@anonymised.com <steve@anonymised.com> wrote:

Hi,
I am trying to do generate a getMap request using POSTed XML data using PHP.
This will return an image that i can save, diplay etc.

I have no problem forming the XML request and already use PHP to POST WFS
requests. But I cant find any way of using PHP to get the WMS image!

Has anyone managed this? Anyone got any code I could see?

Many thanks,
Steve

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/WMS-getMap-Using-PHP-tp5063829.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Thanks Simone,
I figured it out in the end - I had some leading whitespace on my XML
request. This has never been an issue with WFS - but it clearly is for WMS!

Steve

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/WMS-getMap-Using-PHP-tp5063829p5065325.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Ciao Steve,
if you have some sample code to share it might help others in the future.

Regards,
Simone Giannecchini

Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

On Wed, Jul 10, 2013 at 10:29 AM, steve@anonymised.com <steve@anonymised.com> wrote:

Thanks Simone,
I figured it out in the end - I had some leading whitespace on my XML
request. This has never been an issue with WFS - but it clearly is for WMS!

Steve

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/WMS-getMap-Using-PHP-tp5063829p5065325.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users