Hi Brett,

You can use shp2pgsql 
(https://postgis.net/docs/using_postgis_dbmanagement.html#shp2pgsql_usage 
<https://postgis.net/docs/using_postgis_dbmanagement.html#shp2pgsql_usage>) to 
load your shapefile into PostGIS.  From there you can follow this example: 
https://github.com/legiongis/arches4-geo-examples/tree/master/tileserver/postgis
 
<https://github.com/legiongis/arches4-geo-examples/tree/master/tileserver/postgis>

With data of that size, you’ll probably need to be thoughtful about how you 
craft your TileStache config (http://tilestache.org/doc/ 
<http://tilestache.org/doc/>) taking into consideration zoom levels and caching 
to optimize performance.

You’ll also need to style your data according to the Mapbox Style Spec 
(https://docs.mapbox.com/mapbox-gl-js/style-spec/ 
<https://docs.mapbox.com/mapbox-gl-js/style-spec/>).  You may find Maputnik 
(https://maputnik.github.io/ <https://maputnik.github.io/>) useful as a GUI for 
building to this spec.

I hope that helps!
- Rob


> On Jun 29, 2019, at 11:33 AM, Brett Ferguson <[email protected]> wrote:
> 
> Hi Alina -
> 
> Thanks for following up with this. I haven't found a solution yet, so if you 
> have any members that might be able to help I'd really appreciate it.
> 
> Cheers,
> 
> Brett
> 
> On Thursday, June 27, 2019 at 2:26:40 PM UTC-7, Alina Myklebust wrote:
> Hi Brett,
> 
> I noticed you haven't received feedback on your shapefile question.  If you 
> haven't found a solution yet, I will see if another community member can help 
> answer your question. 
> 
> Cheers,
> 
> Alina
> 
> 
> On Wednesday, June 19, 2019 at 8:49:47 AM UTC-7, Brett Ferguson wrote:
> I'm struggling to make an ESRI Shapefile available as vector layer 
> (eventually selectable). I was hoping to make it available from the .shp file 
> itself on the server, but at this point I'd be happy to get it in any way 
> possible as a TileStash overlay. It is a fairly large file (1GB). I feel like 
> I've fallen into a documentation hole between Arches and TileStash to get the 
> configuration right.
> 
> I've seen the arches4-geo-examples but the only tileserver shapefile example 
> I can see uses mapnik which we haven't installed (if that is the recommended 
> way we can). Does anyone have an example of this, or have a suggestion w/ 
> examples of a better way to do it (via geojson, etc)?
> 
> Thanks!
> 
> -- 
> -- To post, send email to [email protected]. To unsubscribe, 
> send email to [email protected]. For more 
> information, visit https://groups.google.com/d/forum/archesproject?hl=en 
> <https://groups.google.com/d/forum/archesproject?hl=en>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Arches Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/archesproject/1309efd7-12f5-4614-8f4f-64ca7daa7c39%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/archesproject/1309efd7-12f5-4614-8f4f-64ca7daa7c39%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
-- To post, send email to [email protected]. To unsubscribe, send 
email to [email protected]. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/8D2B543A-4D14-4947-B5F2-671AA6751E09%40fargeo.com.

Reply via email to