[postgis-users] Postgis Polygon to Google Maps Polygon

juancotrina juancotrina at gmail.com
Thu Jun 1 15:14:09 PDT 2017


Hi Tom for yor answer. I don't want to simplify any polygon. My porpose is
export all vertice from spatial table (postgis) to kml, but using ST_AsKml
only export some points, therefore it does not allow drawing the polygon
completely into Google Earh.
I using Postgis 1.3.5.

Juan


On Thu, Jun 1, 2017 at 2:55 PM, Tom van Tilburg-2 [via PostGIS] <
ml+s17n5011239h76 at n6.nabble.com> wrote:

> Hi Juan,
>
> I'm not sure I understand your question. Do you mean that you want to
> simplify the polygon so it has less points? In that case, use ST_Simplify
> before your ST_AsKml function.
> Read more about it over here: https://postgis.net/docs/ST_Simplify.html
>
> Best,
>  Tom
>
> On Thu, Jun 1, 2017 at 9:50 PM, juancotrina <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=5011239&i=0>> wrote:
>
>>  Hi everybody:
>> I want to export a polygon from postgis with lots of vertice to kml using
>> FUNCTION st_askml, but no export all points. How can I solve this
>> problem?,
>> Thanks to help me.
>>
>> Juan Cotrina.
>>
>>
>>
>> --
>> View this message in context: http://postgis.17.x6.nabble.co
>> m/Postgis-Polygon-to-Google-Maps-Polygon-tp4470594p5011238.html
>> Sent from the PostGIS - User mailing list archive at Nabble.com.
>> _______________________________________________
>> postgis-users mailing list
>> [hidden email] <http:///user/SendEmail.jtp?type=node&node=5011239&i=1>
>> https://lists.osgeo.org/mailman/listinfo/postgis-users
>
>
>
> _______________________________________________
> postgis-users mailing list
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=5011239&i=2>
> https://lists.osgeo.org/mailman/listinfo/postgis-users
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://postgis.17.x6.nabble.com/Postgis-Polygon-to-Google-Maps-Polygon-
> tp4470594p5011239.html
> To unsubscribe from Postgis Polygon to Google Maps Polygon, click here
> <http://postgis.17.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4470594&code=anVhbmNvdHJpbmFAZ21haWwuY29tfDQ0NzA1OTR8LTk4NDQ3NTIxNQ==>
> .
> NAML
> <http://postgis.17.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://postgis.17.x6.nabble.com/Postgis-Polygon-to-Google-Maps-Polygon-tp4470594p5011240.html
Sent from the PostGIS - User mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20170601/238d2a44/attachment.html>


More information about the postgis-users mailing list