-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update drivers documentation #1133
base: gh-pages
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect
Can we merge ? |
We must check H2GIS version before merging because some fixes have been done on master and others on dev branch |
Ok no problem |
GeoJsonWrite(VARCHAR path, VARCHAR tableName, VARCHAR fileEncoding); | ||
GeoJsonWrite(VARCHAR path, VARCHAR tableName, | ||
BOOLEAN deleteTable); | ||
GeoJsonWrite(VARCHAR path, VARCHAR tableName, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Encoding has been removed
The signatures are now
GeoJsonWrite(VARCHAR path, VARCHAR tableName);
GeoJsonWrite(VARCHAR path, VARCHAR tableName,
BOOLEAN deleteTable);
#### 3. Case with `fileEncoding` | ||
|
||
{% highlight mysql %} | ||
CALL GeoJsonWrite('/home/user/test.geojson', 'TEST', 'utf-8'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unsupported because json must be in utf-8
{% highlight mysql %} | ||
CALL GeoJsonWrite('/home/gpetit/test.geojson', 'TEST', true); | ||
-- or | ||
CALL GeoJsonWrite('/home/user/test.geojson', 'TEST', 'utf-8', true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be removed
{% highlight mysql %} | ||
CALL JsonWrite('/home/gpetit/test.json', 'TEST', true); | ||
-- or | ||
CALL JsonWrite('/home/user/test.json', 'TEST', 'utf-8', true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as for geojson. Encoding is not supported any more.
and |
now we have to update the documentation CREATE TABLE ROADS (the_geom MULTILINESTRING, speed_limit INT)
CREATE TABLE ROADS (the_geom GEOMETRY(MULTILINESTRING) , speed_limit INT) |
See #1099 |
Update the drivers documentation
ASCREAD
deleteTable
parameter when neededfileEncoding
parameter when neededPK
added for .shp and .dbf, typo, visual rendering of the documentation, ...)Linked with #1099