Comments (3)
Running the command
assign("dg_debug", TRUE, envir=dggridR:::dg_env)
will provide additional debugging info that may be useful to you.
Could you post the top few sections of your KML file? Mine looks like:
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
<Folder>
<name>dgout</name>
<description>Generated by DGGRID 6.2b1</description>
<Style id="lineStyle1">
<LineStyle id="lineStyle2">
<color>ffffffff</color>
<width>4</width>
</LineStyle>
</Style>
<Placemark>
<name>1</name>
<styleUrl>#lineStyle1</styleUrl>
<LineString>
You'll see the <name>dgout</name>
line, which is what rgdal is looking for.
from dggridr.
This is what I have in the KML:
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
<Folder>
<name>dgout</name>
<description>Generated by DGGRID 6.2b1</description>
<Style id="lineStyle1">
<LineStyle id="lineStyle2">
<color>ffffffff</color>
<width>4</width>
</LineStyle>
</Style>
<Placemark>
<name>80435</name>
<styleUrl>#lineStyle1</styleUrl>
<LineString>
<tessellate>1</tessellate>
<coordinates>
It seems to be OK.
Set assign("dg_debug", TRUE, envir=dggridR:::dg_env)
and the error is he same but with more info:
after successfully generate the grid, I got
** grid generation complete **
accepted 1,020 cells / 1,020 tested
[1] "Metafile: /tmp/RtmpMioJPY/dggridR-2b0b40b1d68c.meta"
[1] "Inputfile: /tmp/RtmpMioJPY/dggridR-2b0b29dd3573.indat"
[1] "Cellfile: /tmp/RtmpMioJPY/dggridR-2b0b618446ff.cell_dat.kml"
Error in ogrInfo(dsn = dsn, layer = layer, encoding = encoding, use_iconv = use_iconv, :
Cannot open layer
and all files exist in /tmp...
from dggridr.
Thank you for reporting this. As of 7746fb0 (the v2.0.0 release), I've completely restructured the package to avoid intermediate files, thereby making it more robust against the kinds of behaviour you report. This should resolve the issue you report.
from dggridr.
Related Issues (20)
- Vignette not available HOT 5
- installation failed HOT 7
- How to export successfully? HOT 1
- plotting problems HOT 1
- Issues in ArcGIS Pro 3D map. HOT 1
- how to export GeoJSON type? HOT 1
- missing cells when creating a small-scale grid (~10 km or less spacing)? HOT 2
- Can dggridR output neighbors of each cell? HOT 2
- FATAL ERROR: coordinate out of range on M1 mac HOT 1
- vignette โdggridRโ not found HOT 1
- Cannot install dggridR on R 4.2.1 HOT 9
- Tag or release HOT 1
- Hexagons at resolution 16 appear distant from each other not sharing their borders HOT 4
- Return cell centroids instead of shape furing grid generation HOT 1
- FATAL ERROR: DgQ2DDtoIConverter::convertTypedAddress() HOT 7
- Triangular grid HOT 1
- gaps between grid cells
- How to Create FULLER43H: Fuller Mixed Aperture 4,3 Hexagonal Grid?
- Grid cell sizes are different - but should be the same?
- Making a high resolution grid for a small area
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dggridr.