Created
January 30, 2012 02:59
-
-
Save mattwigway/1702201 to your computer and use it in GitHub Desktop.
GDAL WMS def for OTP Analyst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<GDAL_WMS> | |
<Service name="WMS"> | |
<!-- I don't think the version matters --> | |
<Version>1.1.1</Version> | |
<!-- Set the special parameters here. There is no other way to | |
specify special parameters as far as I know --> | |
<ServerUrl>http://localhost:8080/opentripplanner-analyst-core/wms?DIM_ORIGINLAT=37.36234646943972&DIM_ORIGINLON=-122.12711334228516&time=2012-01-12T23:30:00Z&</ServerUrl> | |
<!-- This state plane CA zone 3 meters | |
You should set it to your local projection. --> | |
<SRS>EPSG:26943</SRS> | |
<CRS>EPSG:26943</CRS> | |
<!-- use png because it is lossless --> | |
<ImageFormat>image/png</ImageFormat> | |
<!-- use the test layer; this is what the client uses --> | |
<Layers>test</Layers> | |
<!-- leave blank; this is what client.js does --> | |
<Styles></Styles> | |
<!-- specify the BBox order. I'm not sure if this changes things, | |
but it doesn't hurt --> | |
<BBoxOrder>xyXY</BBoxOrder> | |
</Service> | |
<DataWindow> | |
<!-- specify the bounding box, in projected coordinates. make sure | |
to get the corners correct --> | |
<UpperLeftX>1848648</UpperLeftX> | |
<LowerRightY>609159</LowerRightY> | |
<LowerRightX>1873604</LowerRightX> | |
<UpperLeftY>586291</UpperLeftY> | |
<!-- set this to the size you want your image. You probably want | |
it to have the same aspect ratio as your bounding box --> | |
<!-- aspect 50,267:46,062 --> | |
<SizeX>3015</SizeX> | |
<SizeY>2763</SizeY> | |
</DataWindow> | |
<!-- Timeout is 16384 hours --> | |
<Timeout>58982400</Timeout> | |
<!-- Not sure how this ties to the other CRS, set it the same for | |
safety --> | |
<Projection>EPSG:26943</Projection> | |
<!-- set to 1 if you're using my grayscale branch, or 4 for RGBA --> | |
<BandsCount>1</BandsCount> | |
</GDAL_WMS> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment