| bio | website | |
|---|---|---|
| location | Sheffield, United Kingdom | |
| age | ||
| visits | member for | 6 months |
| seen | May 3 at 13:27 | |
| stats | profile views | 43 |
It's time to understand the world.
|
Apr 16 |
comment |
How to efficiently read a kml file into R OK good plan - I have told the client that PostGIS is the way forward for such big data, and am convinced that it's the right option for the kind of things he wants to do. Good excuse for me to learn it properly! |
|
Apr 16 |
comment |
Extract number of vertices in each polygon in R ps system.time(sapply(dshe@polygons, function(y) nrow(y@Polygons[[1]]@coords))) tells me your method is several orders of magnitude faster than mine. |
|
Apr 16 |
comment |
Extract number of vertices in each polygon in R That solved it, many thanks! |
|
Apr 16 |
accepted | Extract number of vertices in each polygon in R |
|
Apr 16 |
accepted | How to efficiently read a kml file into R |
|
Apr 16 |
comment |
How to efficiently read a kml file into R Thanks for your answer Spaced - solved the problem straight away. It's clear explanation like this that makes me love stack exchange! One 'bonus point' question: could I use the same command to read in a subset of the data (e.g. the first 1 million polygons)? Otherwise will look to split up the huge kmls with an external program. |
|
Apr 16 |
asked | Extract number of vertices in each polygon in R |
|
Apr 16 |
revised |
How to efficiently read a kml file into R better ps example |
|
Apr 16 |
asked | How to efficiently read a kml file into R |
|
Apr 16 |
awarded | Popular Question |
|
Apr 9 |
accepted | How do I change the delimiter in the attribute table |
|
Apr 9 |
comment |
How do I change the delimiter in the attribute table Gotcha - I've just exported the text and then saved as csv to join on. Thanks |
|
Apr 8 |
comment |
How do I change the delimiter in the attribute table Even if it were not a .kml file, the same question remains: how to add delimiters to the attribute table so more columns are created (e.g. perhaps you want "08 04 2013" to be represented by three separate columns by making space " " the delimiter). |
|
Apr 8 |
comment |
How do I change the delimiter in the attribute table <?xml version="1.0" encoding="UTF-8"?> <kml xmlns="opengis.net/kml/2.2"> <Document> <Style id="transBluePoly"> <LineStyle> <width>1.5</width> </LineStyle> <PolyStyle> <color>30ffa911</color> </PolyStyle> </Style> <Style id="labelStyle"> <IconStyle> <color>ffffa911</color> <scale>0.35</scale> </IconStyle> <LabelStyle> <color>ffffffff</color> <scale>0.35</scale> </LabelStyle> </Style> <Placemark> <name>9840229084|2013-03-06 13:41:34.0|rent|...</name> |
|
Apr 8 |
comment |
How do I change the delimiter in the attribute table Hi gsherman, yes I'm sure it's a kml file. I added it using the method you suggested. Its format is as follows: |
|
Apr 8 |
asked | How do I change the delimiter in the attribute table |
|
Feb 23 |
asked | TRANSIMS interaction with OSGEO tools |
|
Jan 4 |
revised |
Route analysis in R based on the OSM transport network: possible? title better |
|
Jan 4 |
accepted | How to fix QGIS PyQGIS package? |
|
Jan 4 |
accepted | Keeping package dependencies for QGIS master up-to-date |