1 / 10

Printvenlige kort

Printvenlige kort. Kommende web service i Kortforsyningen. VIGTIGT INFO TIL PARTNERE. URL’erne i dette dokument virker nødvendigvis ikke, da der er tale om prototyper

flynn
Download Presentation

Printvenlige kort

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Printvenlige kort Kommende web service i Kortforsyningen

  2. VIGTIGT INFO TIL PARTNERE • URL’erne i dette dokument virker nødvendigvis ikke, da der er tale om prototyper • URL’erne henviser til kortforsyning.kms.dk. Denne maskine var tidligere en driftsmaskine – i dag er den en udviklingsmaskine og indeholder derfor bl.a. prototyper. HUSK derfor, at ALLE applikationer ALTID/FORTSAT skal benytte kortforsyningen.kms.dk!

  3. Forventes i drift hen over sommeren Kommende web service Muligt at forespørge og få returneret store rasterfiler (geoTIFF) til fx print og til brug i GIS værktøjer Muligt at forespørge og få returneret et layout indeholdende kort, målestok, retningsangivelse m.m. i PDF og PostScript format

  4. Hvordan virker det? FTP/HTTP GET request Kortforsyningen XML response Internet Generering af fil Request Response Applikation

  5. Parameternavn Parameterværdi PROTOTYPE Request – Image VERSION SERVICENAME SERVICE REQUEST FORMAT TIFFCOMPRESSION TIFFTILESIZE TIFFDPI WIDTH HEIGHT BBOX SRS EXCEPTIONS 1.1.1 Gyldig servicename PLOT GetImage image/tiff uncompressed | lzw | packbits (standard) Heltal (standard er 256), 0=ingen tiles Heltal (standard er 254) Heltal (0-10.000) Heltal (0-10.000) Gyldig bbox Gyldig epsg-kode application/vnd.ogc.se_xml

  6. Parameternavn Parameterværdi PROTOTYPE Request – Layout VERSION SERVICENAME SERVICE REQUEST FORMAT PAPERSIZE PAPERDIRECTION SCALE CENTERX CENTERY BBOX SRS EXCEPTIONS 1.1.1 Gyldig servicename PLOT GetLayout application/pdf | application/eps A4 | A3 landscape | portrait Heltal fx 10000 svarende til 1:10.000 Gyldig X-koordinat Gyldig Y-koordinat Gyldig bbox Gyldig epsg-kode application/vnd.ogc.se_xml Kan benyttes i stedet for BBOX Trumfer SCALE, CENTERX og CENTERY

  7. PROTOTYPE Response – GetImage <?xml version="1.0" encoding="ISO-8859-1" ?> <ServiceReport version="1.1.1"> <Request> <Get> <Parameter name="service"value="PLOT"/> <Parameter name="srs"value="EPSG:32632"/> <Parameter name="format"value="image/tiff"/> <Parameter name="request"value="GetImage"/> <Parameter name="servicename"value="D_300"/> <Parameter name="width"value="5000"/> <Parameter name="height"value="7000"/> <Parameter name="bbox"value="472000,6220000,492000,6240000"/> </Get> </Request> <Response> <Image> <Dimension unit=”px"width=”5000"height=”7000"/> <BoundingBox srs="EPSG:32632"minx="472000"miny="6216000"maxx="492000"maxy="6244000"/> <Location url="http://kortforsyning.kms.dk/output/5963896491387528.tif"/> <Expires date="2004-03-14"/> </Image> </Response> </ServiceReport>

  8. PROTOTYPE Response – GetLayout <?xml version="1.0" encoding="ISO-8859-1" ?> <ServiceReport version="1.1.1"> <Request> <Get> <Parameter name="service"value="PLOT"/> <Parameter name="srs"value="EPSG:32632"/> <Parameter name="format"value=”application/pdf"/> <Parameter name="request"value="GetLayout"/> <Parameter name="servicename"value=”matrikelkort_01"/> <Parameter name=”papersize"value=”A4"/> <Parameter name=”paperdirection"value=”landscape"/> <Parameter name="bbox"value="472000,6220000,473000,6221000"/> </Get> </Request> <Response> <Layout> <Dimension unit=”cm"width=”29.7"height=”21.0"/> <Location url="http://kortforsyning.kms.dk/output/5963896491387528.tif"/> <Expires date="2004-03-14"/> </Layout> </Response> </ServiceReport>

  9. Eksempel – TIFF billede Parameter servicename=D_300 bbox= 569787,6132072,607111,6147071 srs=EPSG:25832 width=4000 height=4000 service=PLOT request=GetImage format=image/tiff exceptions=application/vnd.ogc.se_xml http://kortforsyningen.kms.dk/service?servicename=D_300&service=PLOT&version=1.1.1&request=GetImage&srs=EPSG:25832&bbox=569787,6132072,607111,6147071&width=4000&height=4000&format=image/tiff&exceptions=application/vnd.ogc.se_xml

  10. Eksempel – PDF layout Parameter servicename=D_100 bbox=637000,6127500,655500,6151000 srs=EPSG:32632 service=PLOT request=GetLayout format=application/pdf papersize=A4 paperdirection=portrait exceptions=application/vnd.ogc.se_xml http://kortforsyningen.kms.dk/service?service=PLOT&request=GetLayout&srs=EPSG:32632&bbox=637000,6127500,655500,6151000&servicename=D_100&papersize=A4&format=application/pdf&paperdirection=portrait&version=1.1.1&exceptions=application/vnd.ogc.se_xml

More Related