Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Adding Map Callout Boxes in Reporting Services


Adding Map Callout Boxes in Reporting Services

Author
Message
Haining
Haining
SSCommitted
SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)

Group: General Forum Members
Points: 1700 Visits: 210
Comments posted to this topic are about the item Adding Map Callout Boxes in Reporting Services
GPO
GPO
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1210 Visits: 1924
Haven't tested it yet, but on face value it looks really quite superb. Many thanks.

:-)

One of the symptoms of an approaching nervous breakdown is the belief that one's work is terribly important.
Bertrand Russell

Haining
Haining
SSCommitted
SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)

Group: General Forum Members
Points: 1700 Visits: 210
Any suggestions and comments about the article are very welcome.
I will try address the issues you found as soon as I can.

Thanks.
:-)
mkostadinovic
mkostadinovic
Grasshopper
Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)

Group: General Forum Members
Points: 10 Visits: 173
Whenever I try to render/preview report I got:
The spatial data for layer 'PolygonLayer1' in the 'Map1' is not valid. Specify spatial data that is data type SqlGeometry or SqlGeography.

Any hint what is wrong? I am using data from AdventureWorks2012 and tl_2011_us_state databases.

Marin Kostadinovic
______________________________
Database Administrator/Architect
dimm-is.com
freemerlin.com
Haining
Haining
SSCommitted
SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)

Group: General Forum Members
Points: 1700 Visits: 210
mkostadinovic (6/22/2012)
Whenever I try to render/preview report I got:
The spatial data for layer 'PolygonLayer1' in the 'Map1' is not valid. Specify spatial data that is data type SqlGeometry or SqlGeography.

Any hint what is wrong? I am using data from AdventureWorks2012 and tl_2011_us_state databases.


Hello mkostadinovic,

If you followed the steps and instructions discussed in the article, the report project was "MapDemo Report", you should not have had the issues as you encountered. A valid SQL spatial data type can be either Geometry or Geography.

It is possible that you created your own project, and somewhat there was error in your configuration, settings, or loading spatial data steps. In sample demo project, AdventureWorks2012 is used as business model data source, MapDemo is the the database for holding spatial data tables, tl_2011_us_state is the original spatial data table, and StateMap is the table for holding valid spatial data for map presentation.

For invalid spatial data in layer PolygonLayer1 (main map), you may try execute command,
such as,

UPDATE dbo.[StateMap]
SET Geog = GEOGRAPHY::STGeomFromWKB(@Geom.MakeValid().STAsBinary(), 4326)

this will help you validate the geography data on the spatial data table. Again, don't forget change the table name to the one you used.

Hope this would help you solve the problem. :-)
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search