Re: [datameet] Re: Pune Tree Census site

2018-12-23 Thread Devdatta Tengshe
The WMS service is currently not reponding, because I'm currently
'load-testing' it while scraping the data. You can try it in some time.


Regards,
Devdatta


On Sun, Dec 23, 2018 at 3:19 PM Arun Ganesh  wrote:

>
>>
>> You can add this as a Layer to Qgis, using the following URL:
>> http://103.233.79.142:90/geoserver/ows?service=wms=1.1.1=GetCapabilities
>>
>> I get connection refused when I try to add the WMS layer in QGIS. Is
> there any authentication needed?
>
> Also, theres a plan for a citizen led tree survey in in Bengaluru. It
> would be good to know how the Pune tree survey was done and if the same
> methodology and tools could be used.
> https://www.deccanherald.com/city/indiranagar-residents-map-705806.html
>
>
>
> --
> 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 datameet+unsubscr...@googlegroups.com.
> 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 datameet+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [datameet] Re: Pune Tree Census site

2018-12-23 Thread Nikhil VJ
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 
. (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=1.1.1=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  > 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=1.1.1=GetFeatureInfo=image%2Fpng=true_LAYERS=tlpmc%3Atrees_display=false=tlpmc%3Atrees=tlpmc%3Atrees_display_FILTER=1%3D1_FORMAT=application%2Fjson_COUNT=50=180=236=256=256=EPSG%3A3857=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 datameet+u...@googlegroups.com .
>> 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 datameet+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [datameet] Re: Pune Tree Census site

2018-12-23 Thread Arun Ganesh
>
>
>
> You can add this as a Layer to Qgis, using the following URL:
> http://103.233.79.142:90/geoserver/ows?service=wms=1.1.1=GetCapabilities
>
> I get connection refused when I try to add the WMS layer in QGIS. Is there
any authentication needed?

Also, theres a plan for a citizen led tree survey in in Bengaluru. It would
be good to know how the Pune tree survey was done and if the same
methodology and tools could be used.
https://www.deccanherald.com/city/indiranagar-residents-map-705806.html

-- 
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 datameet+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [datameet] Re: Pune Tree Census site

2018-12-23 Thread Devdatta Tengshe
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=1.1.1=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  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=1.1.1=GetFeatureInfo=image%2Fpng=true_LAYERS=tlpmc%3Atrees_display=false=tlpmc%3Atrees=tlpmc%3Atrees_display_FILTER=1%3D1_FORMAT=application%2Fjson_COUNT=50=180=236=256=256=EPSG%3A3857=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 datameet+unsubscr...@googlegroups.com.
> 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 datameet+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


trees_display.csv
Description: MS-Excel spreadsheet


[datameet] Re: Pune Tree Census site

2018-12-22 Thread Nikhil VJ
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=1.1.1=GetFeatureInfo=image%2Fpng=true_LAYERS=tlpmc%3Atrees_display=false=tlpmc%3Atrees=tlpmc%3Atrees_display_FILTER=1%3D1_FORMAT=application%2Fjson_COUNT=50=180=236=256=256=EPSG%3A3857=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 datameet+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.