Logesh m wrote in post #1152814:
> I have a requirement where I would need to create a geo fence and for
> that
> I have used the google map and the drawing tools and I could create a
> polygon using the drawing tool but I am not sure on how to save the data
> in
> postgis and I saw about rgeo but I was not clear on how to use that. So
> please guide me through the process and I also would like to know how
> the
> polygon data from the google map is received i.e., format of the data.
> From
> my understanding I think the postgis can save the WKT format and I don’t
> think google map is presenting the data as WKT. So, how can I get the
> data
> and save it in the postgis and then show the graph again from the table.

RTFM: 
https://developers.google.com/maps/documentation/javascript/shapes#polygon_inspect

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/0a28da4fb0776ad0d9fce8c3b977190d%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to