3

I am looking to implement a web map of property boundaries and owner information. The parcel data (property boundaries) is updated infrequently, but the assessment data is updated weekly, as properties are bought and sold. What are the best practices to cache a somewhat dynamic, large data set?

Here's a list of some of the features I'd like to show on the map:

  • Shape (infrequently changes)
  • Pin (infrequent)
  • Physical address (infrequent)
  • Current owner (frequent)
  • Last sale information (frequent)

I am wondering what the best solution would be to caching the vector features:

  • Cached vector features, with key and physical location information as the only attributes. Upon interaction in the web map, make a second call to load the current owner/sales information. Would need to regenerate the cache when the parcel/boundary data is updated.
  • Cached vector features, but with all desired information. Would need to regenerate weekly, or create a process to only regenerate tiles where new information was made available.
  • Another alternative is to not cache, but already seems foolish, rendering the property boundaries from scratch every request seems wasteful, even though some attributes of the features change week by week.

Does anyone have experience with vector tiling to help me decide? Anyone have good experience or examples of using a static tile map and loading attributes using a second call? I'm using a Linux/PostGIS server to host this application.

0

2 Answers 2

4

you might want to have a look at https://github.com/mapbox/tilelive-decorator

This allows you to update properties of vector tile features dynamically from Redis, but I am sure you can implement it with an other data source. This should fit quite well with your use case.

Underneath it uses https://www.npmjs.com/package/tile-decorator to do the actual work on vector tile features.

0

Check out the following video

youtube video for dynmic vector tile platform

In addition:

  1. There is no Need for Pre-cutting or Caching: Whether it's vector tiles or raster tiles, there's no need to pre-generate them. Data is displayed as it changes, greatly reducing the tile maintenance workload.
  2. Distributed Support: Support for building distributed deployments across multiple nodes to accelerate frontend performance. 3.Cache Strategy Support: Various caching strategies are available, including hierarchical caching (e.g., caching map levels below 12), dynamic regional caching (ensuring specific area ranges remain dynamic), and scheduled cache refresh for data (e.g., refreshing level caches during the night).
  3. Dynamic CAD Data Publishing: Support for dynamic uploading of CAD files and immediate publishing. Depending on file size, a 3-megabyte file takes approximately 5 seconds to publish.
  4. Data Source Support: Compatible with SuperMap, Shapefile, GeoPackage, PostGIS, and TIFF data formats.
  5. Dynamic Vector Tile Projection: No need for data coordinate transformation for original data; dynamic projection is supported.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.