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)
Change History (4)
by , 16 years ago
Attachment: | result_test.ovf added |
---|
by , 16 years ago
comment:1 by , 15 years ago
Cc: | added |
---|
comment:2 by , 13 years ago
Cc: | added; removed |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
PROJECTION AUTO may help (when implemented, see RFC 37)
Note:
See TracTickets
for help on using tickets.
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.