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&SETDISPLA
YHEIGHT=500&SETDISPLAYWIDTH=500&SETVIEWCENTERX=-87.73&SETVIEWCENTERY=43.72&SETVI
EWSCALE=2860
Result:
Invalid stream header exception.
no image return.
Expected:
Request could get image from server
Original issue reported on code.google.com by Mars....@gmail.com on 5 Nov 2010 at 7:34
Original issue reported on code.google.com by
Mars....@gmail.com
on 5 Nov 2010 at 7:34