Skip to main content
Released

Shapefile spatial index for QGIS

Related products:FME Form
  • December 28, 2016
  • 4 replies
  • 10 views
siennaatsafe
nielsgerrits
sigtill
+3
  • siennaatsafe
    siennaatsafe
  • nielsgerrits
    nielsgerrits
  • sigtill
    sigtill
  • jonathan
  • marcandre
  • jneujens
    jneujens
  • tono
    tono
  • __alex__
    __alex__

For shapefiles, FME has the ability to create a spatial index for ESRI, but of course that requires an ArcGIS license to create (and another to use).


Might I suggest creating a QGIS compatible spatial index instead/as-well? That way folks who don't have ArcGIS can still enjoy fast shapefiles.

And as a bonus (probably a different PR), FME could probably integrate the spatial index handling with "search envelope" for shape reader and read the QIX file to speed up reading in those scenarios.

This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

nielsgerrits
VIP
Forum|alt.badge.img+55
Would be a very nice time saver!

 


fmelizard
Safer
Forum|alt.badge.img+19
  • Safer
  • December 30, 2016

Hi Jonathan, until there's an option to write QIX files on the Shape writer, you could run ogrinfo in a SystemCaller after a FeatureWriter, e.g. C:\\OSGeo4W64\\bin\\ogrinfo.exe $(DestDataset_ESRISHAPE)/to_be_indexed.shp -sql "CREATE SPATIAL INDEX ON to_be_indexed"


fmelizard
Safer
Forum|alt.badge.img+19
  • Safer
  • October 16, 2017

debbiatsafe
Safer
Forum|alt.badge.img+20
  • Safer
  • October 7, 2019

I'm pleased to let you know that the ability to create a spatial index for QGIS has been added as a parameter option to the new bulk mode enabled Shapefile writer in FME 2019.2 betas. You can find our latest installers at https://www.safe.com/support/downloads/#beta

Users will have the ability to select which application to create a shapefile index for ArcGIS, QGIS, or both applications within the Create Shapefile Index writer parameter.

If this does not address your concerns, please let me know in the comments.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings