[CONJS-39] support geometry type Created: 2018-07-20  Updated: 2018-09-21  Resolved: 2018-09-19

Status: Closed
Project: MariaDB Connector/node.js
Component/s: API
Affects Version/s: None
Fix Version/s: 2.0.0-alpha

Type: Task Priority: Major
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None


 Description   

Support geometry data type:

format :
The format is the SRID code + WKB.
http://edndoc.esri.com/arcsde/9.1/general_topics/wkb_representation.htm
server code : Field_geom::store(const char *from, size_t length, CHARSET_INFO *cs)



 Comments   
Comment by Diego Dupin [ 2018-09-07 ]

reopening to implement GeoJSON structure format (RFC 7946)
see https://tools.ietf.org/html/rfc7946

Current implementation parse Geometric as JSON, but not in a normalized way.
Using GeoJSON will permit automatic Object insertion

Comment by Diego Dupin [ 2018-09-14 ]

Note : null data doesn't return geometry type ( i.e:

{ type: "Point", coordinates: [] }

), but null
https://jira.mariadb.org/browse/MDEV-15558

Generated at Thu Feb 08 03:22:18 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.