Infrastructure Map Server Forum
Welcome to Autodesk’s Infrastructure Map Server Forums. Share your knowledge, ask questions, and explore popular Infrastructure Map Server topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Slow IMS 2012 & SQL Server Spatial

4 REPLIES 4
Reply
Message 1 of 5
ced_abitat
616 Views, 4 Replies

Slow IMS 2012 & SQL Server Spatial

Hi,

  I have a table in SQL Server Spatial containing the points (field type geography with  spatial index set HIGH-HIGH-HIGH-HIGH) and I would like to see them withInfrastructure MapServer 2012. I can view them but it is really slow. If you use the ODBC connection as the display of these points (using X,Y fields) turns out to be much faster. How can I speed up the configuration that uses the SQL Spatial?

 

I also tried with the 2014 version but does not improve performance

 

Regards

4 REPLIES 4
Message 2 of 5
jackie.ng
in reply to: ced_abitat

Does the bounds of that spatial index cover your area of interest and not the entire planet?

 

- Jackie

Message 3 of 5
ced_abitat
in reply to: ced_abitat

Hi Jackie,
on Sql Server Spatial only for geometry columns is possible to specify the area of index. I have geography column.
Regards
Matteo
Message 4 of 5
reno.sun.gis
in reply to: ced_abitat

Hi

 

You may need to generalize your  Lat, Lng coordinates with only 6-7 decimal places

 

Please let me know if that works or not.

 

Thanks Smiley Happy

Message 5 of 5
gluckett
in reply to: ced_abitat

First make sure your data is valid:

update mytable
set mygeom = mygeom.MakeValid()

Second, in your layer in Studio, filter out any NULL geometries/geographies

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums