Issue 24 in georest: Get Image for GeoREST could not work

6 views
Skip to first unread message

geo...@googlecode.com

unread,
Nov 5, 2010, 3:37:58 AM11/5/10
to georest...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

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

geo...@googlecode.com

unread,
Nov 5, 2010, 3:42:16 AM11/5/10
to georest...@googlegroups.com

Comment #1 on issue 24 by Mars.Woo: Get Image for GeoREST could not work
http://code.google.com/p/georest/issues/detail?id=24

External ID: Clarify: 1353503

Reply all
Reply to author
Forward
0 new messages