Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get Image for GeoREST could not work #24

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 1 comment
Open

Get Image for GeoREST could not work #24

GoogleCodeExporter opened this issue Mar 14, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link
Collaborator

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

@GoogleCodeExporter
Copy link
Collaborator Author

External ID: Clarify: 1353503

Original comment by Mars....@gmail.com on 5 Nov 2010 at 7:35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant