wtfleming / phoenix-postgis-example Goto Github PK
View Code? Open in Web Editor NEWExample website with geospatial feature using Phoenix Framework using PostGIS
Example website with geospatial feature using Phoenix Framework using PostGIS
Hi,
I am using geometry in a project exactly the way you have in this project - I followed all the examples on
https://wtfleming.github.io/blog/geospatial-app-elixir-postgis-phoenix/
I am still getting this error:
create table sites
** (Postgrex.Error) ERROR 42704 (undefined_object) type "geometry" does not exist
Please advise?
Also - this is the error I get when the type geometry does load and I run the tests:
** (DBConnection.EncodeError) Postgrex expected an integer in -9223372036854775808..9223372036854775807, got <<66, 206, 117, 40, 187, 17, 71, 158, 148, 177, 21, 169, 99, 91, 189, 152>>. Please make sure the value you are passing matches the definition in your table or in your query or convert the value accordingly.
I'm having some trouble applying what you've done here to Phoenix 1.3. Mostly because of the new contexts and web/ stuff ending up in lib/.
Do you think you'll update this project at some point?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.