Hi Devdatta, Wow, that's great!
I added the url in QGIS, pressed Connect, it showed several layers, I chose "tlpmc trees_display" as that's mentioned in the XHR data, And it's coming as "Connection refused" each time. Are there more settings to be set here? See screenshot <https://i.imgur.com/ZJfdsQ0.jpg>. (never worked with WMS stuff yet) -Nikhil On Sunday, December 23, 2018 at 2:35:58 PM UTC+5:30, Devdatta Tengshe wrote: > > Hi Nikhil, > > The backend is a Geoserver, which uses WMS & WFS services. > > You can add this as a Layer to Qgis, using the following URL: > http://103.233.79.142:90/geoserver/ows?service=wms&version=1.1.1&request=GetCapabilities > > They have also kept the WFS service running, so it should be possible to > extract the data. > > Here is sample in CSV format. > > > Regards, > Devdatta > > > On Sun, Dec 23, 2018 at 12:50 PM Nikhil VJ <[email protected] > <javascript:>> wrote: > >> Pasting details of an XHR request triggered by zooming into the map and >> clicking on location of one tree. This was captured from browser console > >> Network tab. If we click at a zoomed-out level on a bunch then it gives >> details of max 50 trees found around that point, so I'm suspecting its a >> radius search. Please check and tell if the URL doesn't return anything at >> your end. >> >> link: >> >> http://103.233.79.142:90/geoserver/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&FORMAT=image%2Fpng&TRANSPARENT=true&QUERY_LAYERS=tlpmc%3Atrees_display&tiled=false&STYLES=tlpmc%3Atrees&LAYERS=tlpmc%3Atrees_display&CQL_FILTER=1%3D1&INFO_FORMAT=application%2Fjson&FEATURE_COUNT=50&X=180&Y=236&WIDTH=256&HEIGHT=256&SRS=EPSG%3A3857&BBOX=8213540.8743836135%2C2100986.3779604957%2C8213579.092897756%2C2101024.596474638 >> >> GET parameters laid out: >> SERVICE=WMS >> VERSION=1.1.1 >> REQUEST=GetFeatureInfo >> FORMAT=image%2Fpng >> TRANSPARENT=true >> QUERY_LAYERS=tlpmc%3Atrees_display >> tiled=false >> STYLES=tlpmc%3Atrees >> LAYERS=tlpmc%3Atrees_display >> CQL_FILTER=1%3D1 >> INFO_FORMAT=application%2Fjson >> FEATURE_COUNT=50 >> X=180 >> Y=236 >> WIDTH=256 >> HEIGHT=256 >> SRS=EPSG%3A3857 >> >> BBOX=8213540.8743836135%2C2100986.3779604957%2C8213579.092897756%2C2101024.596474638 >> >> >> Response: >> { >> "type": "FeatureCollection", >> "totalFeatures": "unknown", >> "features": [ >> { >> "type": "Feature", >> "id": "trees_display.fid-66dc9168_167d97e634c_-5ffe", >> "geometry": { >> "type": "Point", >> "coordinates": [ >> 8213567.560115479, >> 2100989.363806502 >> ] >> }, >> "geometry_name": "geom", >> "properties": { >> "id": 3720853, >> "oid": null, >> "sr_no": null, >> "girth_cm": 30, >> "height_m": 7, >> "canopy_dia_m": 3, >> "condition": "Healthy", >> "other_remarks": null, >> "ownership": "Private", >> "society_name": "NA", >> "road_name": "Pashan Sutarwadi Link Road", >> "northing": 18.5411655788, >> "easting": 73.7837327644, >> "balanced": true, >> "remarks": "NA", >> "special_collar": "N/A", >> "ward_name": "10", >> "botanical_name": "Mangifera indica Linn.", >> "saar_uid": "2605965", >> "common_name": "Mango", >> "local_name": "Amba", >> "economic_i": "Fruit", >> "phenology": "Seasonal", >> "flowering": "January-March", >> "ward": 10, >> "is_rare": false >> } >> } >> ], >> "crs": { >> "type": "name", >> "properties": { >> "name": "urn:ogc:def:crs:EPSG::3857" >> } >> } >> } >> >> Also, query for GIS folks (believe it or not, this mailing list isn't >> exclusively about GIS only!): is the WMS url in a familiar format that can >> be brought into QGIS or the like? >> >> -- >> Datameet is a community of Data Science enthusiasts in India. Know more >> about us by visiting http://datameet.org >> --- >> You received this message because you are subscribed to the Google Groups >> "datameet" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- Datameet is a community of Data Science enthusiasts in India. Know more about us by visiting http://datameet.org --- You received this message because you are subscribed to the Google Groups "datameet" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
