Link to home
Start Free TrialLog in
Avatar of spen_lang
spen_lang

asked on

SSRS 2016 Maps Spatial Query using Sybase Datasource

Hi,

I am trying to plot some long and lats from a Sybase 16 database into a SSRS Map report using SQL Server spatial query.

I am using the below code to generate the spatial data in Sybase:
ST_Geometry::ST_GeomFromText( 'POINT(1 1)' )

Open in new window


but when I click n next the wizard states that the dataset does not contain any spatial field.

Please help.

Thanks, Greg
Avatar of Zberteoc
Zberteoc
Flag of Canada image

Don't you need the SRID parameter?

ST_Geometry::ST_GeomFromText( 'POINT(1 1), 0' )
ASKER CERTIFIED SOLUTION
Avatar of spen_lang
spen_lang

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of spen_lang
spen_lang

ASKER

It worked