New issue 24 by Mars.Woo: Get Image for GeoREST could not work
http://code.google.com/p/georest/issues/detail?id=24
Steps:
1. load samples data
2. set data source in GeoRest configure file
<Resource uripart="Parcels">
<Source type="MapGuide">
<FeatureSource>Library://Samples/Sheboygan/Data/Parcels.FeatureSource</FeatureSource>
<FeatureClass>SHP_Schema:Parcels</FeatureClass>
</Source>
<Representation renderer="JSON" pattern=".json"/>
<Representation renderer="PNG8" pattern=".png"><Method name="GET" />
<MapDefinition>Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition</MapDefinition>
<DefaultZoomFactor>1.3</DefaultZoomFactor>
</Representation>
3. launch GeoREST server
4. send request to Rest Server
http://localhost:99/rest/data/parcels/.png?FORMAT=PNG&SETDISPLAYDPI=96&SETDISPLAYHEIGHT=500&SETDISPLAYWIDTH=500&SETVIEWCENTERX=-87.73&SETVIEWCENTERY=43.72&SETVIEWSCALE=2860
Result:
Invalid stream header exception.
no image return.
Expected:
Request could get image from server
External ID: Clarify: 1353503