Opened 16 years ago

Closed 13 years ago

#2620 closed defect (wontfix)

Unable to draw a point layer using OGR, SQL Server ODBC and <SrcSQL>

Reported by: skerrick Owned by: mapserverbugs
Priority: highest Milestone:
Component: OGR Support Version: 4.8
Severity: critical Keywords:
Cc: bfraser

Description

Unable to draw a point layer using OGR, SQL Server ODBC and <SrcSQL>

I used ogrinfo with –sql and my DSN to verify that all worked. It did.

Next I used ogrinfo against my .ovf file and that worked fine. The point locations where retrieved just fine.

When I use shp2img using my map file which contains the point layer using the .ovf file the resulting image is blank.

The extent specified in my map file does contain the points as retrieved by ogrinfo but the point layer does not draw.

Attachments (2)

result_test.ovf (933 bytes ) - added by skerrick 16 years ago.
test.map (2.5 KB ) - added by skerrick 16 years ago.

Download all attachments as: .zip

Change History (4)

by skerrick, 16 years ago

Attachment: result_test.ovf added

by skerrick, 16 years ago

Attachment: test.map added

comment:1 by bfraser, 15 years ago

Cc: bfraser@… added

The EXTENT in the map file implies you are displaying the map in projected coordinates, but the <LayerSRS>WGS84</LayerSRS> in the .ovf states the coordinate system of the source data is Geographic (and is using WGS84 datum).

You have to supply PROJECTION definition blocks for the MAP and the LAYER.

comment:2 by bfraser, 13 years ago

Cc: bfraser added; bfraser@… removed
Resolution: wontfix
Status: newclosed

PROJECTION AUTO may help (when implemented, see RFC 37)

Note: See TracTickets for help on using tickets.