Issue Type: Improvement Improvement
Affects Versions: 2.2.x
Assignee: Andrea Aime
Components: WFS, WMS
Created: 02/Aug/12 3:59 AM
Description:

Here is the list of provided improvements:

[{"name":"topp:africa","description":"africa","type":"object","extends":"Feature","properties":{"geometry":{"type":"Point","minimum":0},"properties":{"type":"object","properties":{"NAME":{"type":"string","minimum":0,"maxLength":254},"COUNTRY":{"type":"string","minimum":0,"maxLength":254},"ISO":{"type":"string","minimum":0,"maxLength":254},"GAUL":{"type":"number","minimum":0,"maxLength":16},"ADMIN":{"type":"string","minimum":0,"maxLength":254},"CITY":{"type":"string","minimum":0,"maxLength":254},"RIVER":{"type":"string","minimum":0,"maxLength":254},"MAJ_BASIN":{"type":"string","minimum":0,"maxLength":254},"SUB_BASIN":{"type":"string","minimum":0,"maxLength":254},"YEAR":{"type":"number","minimum":0,"maxLength":16},"HEIGHT":{"type":"number","minimum":0,"maxLength":16},"CAPACITY":{"type":"number","minimum":0,"maxLength":16},"SEDIMENTAT":{"type":"number","minimum":0,"maxLength":16},"AREA":{"type":"number","minimum":0,"maxLength":16},"IRRIGATION":{"type":"string","minimum":0,"maxLength":254},"SUPPLY":{"type":"string","minimum":0,"maxLength":254},"FLOOD":{"type":"number","minimum":0,"maxLength":16},"ELECT":{"type":"number","minimum":0,"maxLength":16},"NAVIGATION":{"type":"number","minimum":0,"maxLength":16},"RECREATION":{"type":"number","minimum":0,"maxLength":16},"POLLUTION":{"type":"number","minimum":0,"maxLength":16},"LIVESTOCK":{"type":"number","minimum":0,"maxLength":16},"OTHER":{"type":"number","minimum":0,"maxLength":16},"LATDIR":{"type":"string","minimum":0,"maxLength":254},"LATDEG":{"type":"number","minimum":0,"maxLength":16},"LATMIN":{"type":"number","minimum":0,"maxLength":16},"LATSEC":{"type":"number","minimum":0,"maxLength":16},"LONGDIR":{"type":"string","minimum":0,"maxLength":254},"LONGDEG":{"type":"number","minimum":0,"maxLength":16},"LONGMIN":{"type":"number","minimum":0,"maxLength":16},"LONGSEC":{"type":"number","minimum":0,"maxLength":16},"DDLAT":{"type":"number","minimum":0,"maxLength":16},"DDLONG":{"type":"number","minimum":0,"maxLength":16},"NATL_REF":{"type":"number","minimum":0,"maxLength":16},"OTHER_REF":{"type":"string","minimum":0,"maxLength":254},"VALIDATED":{"type":"string","minimum":0,"maxLength":254},"NOTES":{"type":"string","minimum":0,"maxLength":254}}}}}]

-------------------------------------------

— Example 2 —

http://localhost:8080/geoserver/wfs?service=wfs
&version=1.1.0
&request=DescribeFeatureType
&typeName=topp:africa
&outputFormat=text/_javascript_
&format_options=callback:describeFeatureType

-------------- RESULT -------------------
describeFeatureType([{"name":"topp:africa","description":"africa","type":"object","extends":"Feature","properties":{"geometry":{"type":"Point","minimum":0},"properties":{"type":"object","properties":{"NAME":{"type":"string","minimum":0,"maxLength":254},"COUNTRY":{"type":"string","minimum":0,"maxLength":254},"ISO":{"type":"string","minimum":0,"maxLength":254},"GAUL":{"type":"number","minimum":0,"maxLength":16},"ADMIN":{"type":"string","minimum":0,"maxLength":254},"CITY":{"type":"string","minimum":0,"maxLength":254},"RIVER":{"type":"string","minimum":0,"maxLength":254},"MAJ_BASIN":{"type":"string","minimum":0,"maxLength":254},"SUB_BASIN":{"type":"string","minimum":0,"maxLength":254},"YEAR":{"type":"number","minimum":0,"maxLength":16},"HEIGHT":{"type":"number","minimum":0,"maxLength":16},"CAPACITY":{"type":"number","minimum":0,"maxLength":16},"SEDIMENTAT":{"type":"number","minimum":0,"maxLength":16},"AREA":{"type":"number","minimum":0,"maxLength":16},"IRRIGATION":{"type":"string","minimum":0,"maxLength":254},"SUPPLY":{"type":"string","minimum":0,"maxLength":254},"FLOOD":{"type":"number","minimum":0,"maxLength":16},"ELECT":{"type":"number","minimum":0,"maxLength":16},"NAVIGATION":{"type":"number","minimum":0,"maxLength":16},"RECREATION":{"type":"number","minimum":0,"maxLength":16},"POLLUTION":{"type":"number","minimum":0,"maxLength":16},"LIVESTOCK":{"type":"number","minimum":0,"maxLength":16},"OTHER":{"type":"number","minimum":0,"maxLength":16},"LATDIR":{"type":"string","minimum":0,"maxLength":254},"LATDEG":{"type":"number","minimum":0,"maxLength":16},"LATMIN":{"type":"number","minimum":0,"maxLength":16},"LATSEC":{"type":"number","minimum":0,"maxLength":16},"LONGDIR":{"type":"string","minimum":0,"maxLength":254},"LONGDEG":{"type":"number","minimum":0,"maxLength":16},"LONGMIN":{"type":"number","minimum":0,"maxLength":16},"LONGSEC":{"type":"number","minimum":0,"maxLength":16},"DDLAT":{"type":"number","minimum":0,"maxLength":16},"DDLONG":{"type":"number","minimum":0,"maxLength":16},"NATL_REF":{"type":"number","minimum":0,"maxLength":16},"OTHER_REF":{"type":"string","minimum":0,"maxLength":254},"VALIDATED":{"type":"string","minimum":0,"maxLength":254},"NOTES":{"type":"string","minimum":0,"maxLength":254}}}}}])
-------------------------------------------

  • Adding Json[P] output format to WMS GetFeatureInfo
    https://github.com/ccancellieri/geoserver/commit/bbcb09154010fc726c91d1172480efa138e2c31c
      • Example —
        http://localhost:8080/geoserver/wms?
        &INFO_FORMAT=text/_javascript_
        &REQUEST=GetFeatureInfo
        &EXCEPTIONS=application/vnd.ogc.se_xml
        &SERVICE=WMS
        &VERSION=1.1.1
        &WIDTH=970&HEIGHT=485&X=486&Y=165&BBOX=-170.507812,-85.253906,170.507813,85.253906
        &LAYERS=COUNTRYPROFILES:grp_administrative_map
        &QUERY_LAYERS=COUNTRYPROFILES:grp_administrative_map
        &TYPENAME=COUNTRYPROFILES:grp_administrative_map
        &format_options=callback:getLayerFeatures
        ----------------RESULTS------------------
        getLayerFeatures({"type":"FeatureCollection","features":[{"type":"Feature","id":"dt_gaul_geom.fid-703aebd7_138e3070879_-6de5","geometry":{"type":"MultiPolygon","coordinates":[[[[9.575345993041992,30.24043083190918], ... [-0.8957719206809998,35.776878356933594]]]]},"geometry_name":"at_geom","properties":{"bk_gaul":4,"at_admlevel":0,"at_iso3":"DZA","ia_status":null,"ia_name":"Algeria","ia_continent":"Africa","ia_region":"Northern Africa","ia_name_l0":"Algeria","ia_name_l1":null,"ia_name_l2":null,"at_gaul_l0":4,"at_gaul_l1":null,"at_gaul_l2":null,"sld_class_id":52,"bbox":[-8.673867225646973,18.96002769470215,11.979548454284668,37.09373474121094]}}],"crs":{"type":"EPSG","properties":{"code":"4326"}},"bbox":[-8.67386722564697,18.9600276947021,11.9795484542847,37.0937347412109]})

-------------------------------------------

---- Example -----
http://localhost:8080/geoserver/wms?service=WMS
&version=1.1.1
&request=DescribeLayer
&layers=topp:group
&outputFormat=text/_javascript_
&format_options=callback:DescribeLayer

---------------- Result ----------------------
DescribeLayer({"WMS_DescribeLayerResponse": {
"version": "1.1.1",
"LayerDescription": { "name": "topp:eto01", "owsURL": "http://localhost:8080/geoserver/wcs?", "owsType": "WCS" },
"LayerDescription": { "name": "topp:africa", "owsURL": "http://localhost:8080/geoserver/wfs/WfsDispatcher?", "owsType": "WFS" }
}})
-------------------------------------------

Project: GeoServer
Priority: Major Major
Reporter: carlo cancellieri
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to