Pages

Sunday, 6 April 2014

2014 Events

Upcoming Events

GeoRabble All Stars (April 7th)

If you are in Canberra for Locate14 conference stop by GeoRabble All Stars for a diverse lineup of speakers (and me). GeoRabble events are always a good time and registration is free. Thanks to LocationTech and Boundless for sponsoring.

Location Intelligence (May May 19-21)

If you are in Washington for Location Intelligence I will be helping out with one of the workshops and would love to see you there!

FOSS4G (Sept 8th-13th)

If you are in Portland for FOSS4G be sure to sign up now an register for workshops while there are spots open!

I will be attending with two workshops: A fun session on GeoServer Cartography and Styling for anyone who has struggled with SLD. For the developers out there I was finally brave enough to submit a GeoTools DataStore Workshop.

Past Events

GeoNext (Feb 26)

Sadly you have missed this one, but it was a really good (and thought provoking) single day event. There is something magical about high quality event that is over in a day, no loss of momentum!

Eclipse Developer Day Sydney (April 2)

An interesting introduction to Eclipse Foundation culture, with a bit of mapping on the side.


Wednesday, 30 October 2013

GeoServer GetMap with HTTP POST

Straight up "how2map" post today - after noticing that the GeoServer Demo Requests (and User Guide) do not include a GetMap Request document.

HTTP GET

Here is the HTTP GET example from the Demo Requests page:

http://localhost:8080/geoserver/wms?
  bbox=-130,24,-66,50&
  styles=population&
  Format=image/png&
  request=GetMap&
  layers=topp:states&
  width=550&height=250&
  srs=EPSG:4326

HTTP POST

Here is the example translated into HTTP Post:

http://localhost:8080/geoserver/ows

<?xml version="1.0" encoding="UTF-8"?>
<ogc:GetMap xmlns:ogc="http://www.opengis.net/ows"
            xmlns:gml="http://www.opengis.net/gml"
            version="1.1.1" service="WMS">
   <StyledLayerDescriptor version="1.0.0">
      <NamedLayer>
        <Name>topp:states</Name>
        <NamedStyle><Name>population</Name></NamedStyle> 
      </NamedLayer> 
   </StyledLayerDescriptor>
   <BoundingBox srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
      <gml:coord><gml:X>-130</gml:X><gml:Y>24</gml:Y></gml:coord>
      <gml:coord><gml:X>-55</gml:X><gml:Y>50</gml:Y></gml:coord>
   </BoundingBox>
   <Output>
      <Format>image/png</Format>
      <Size><Width>550</Width><Height>250</Height></Size>
   </Output>
</ogc:GetMap>

I will commit the above example so subsequent releases provide a good starting point. Thanks to Mike Pumphrey for helping me sort out a working example.

Documentation harmed in the making of this post:


References: