Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mapsde.c missing column type NCLOB #3001

Closed
mapserver-bot opened this issue Apr 3, 2012 · 5 comments
Closed

mapsde.c missing column type NCLOB #3001

mapserver-bot opened this issue Apr 3, 2012 · 5 comments
Labels

Comments

@mapserver-bot
Copy link

Reporter: hpbrantley
Date: 2009/05/04 - 19:18
Trac URL: http://trac.osgeo.org/mapserver/ticket/3001
mapsde.c

It appears ESRI has added another column type, Character Large Object (NCLOB). Referencing a feature class with NCLOB defined yields Unknown Column Type.

@mapserver-bot
Copy link
Author

Author: hobu
Date: 2009/05/05 - 22:44
Hue,

Please try trunk, I have made an attempt with 2ae2eb2 (r9002)

Thanks,

Howard

@mapserver-bot
Copy link
Author

Author: hobu
Date: 2009/05/05 - 22:51
oops, I forgot to actually fix nclob, not clob. Tried again in 00f358e (r9003). At any rate, I'm not sure it is going to work because nclob is wide characters and we're not doing anything for that.

@mapserver-bot
Copy link
Author

Author: hpbrantley
Date: 2009/05/06 - 15:30
$ ~/mapserver/shp2img -m "/var/www/map/wms.map" -l "ART" foo.png
Segmentation fault

$ ./mapserv -v
MapServer version 5.5.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WFS_SERVER INPUT=TIFF INPUT=EPPL7 INPUT=SDE INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

Did I compile correctly?

@mapserver-bot
Copy link
Author

Author: hpbrantley
Date: 2009/05/14 - 18:32
Did I do this correctly?

$ gdb --args shp2img -m "/var/www/map/wms.map" -l "ART" foo.png
GNU gdb Red Hat Linux (6.3.0.0-1.159.el4rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) run
Starting program: /home/brantlhp/mapserver/shp2img -m /var/www/map/wms.map -l ART foo.png
[Thread debugging using libthread_db enabled]
[New Thread -1208710528 (LWP 17536)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208710528 (LWP 17536)]
0x06aaf2dc in memcpy () from /lib/tls/libc.so.6
(gdb) bt
#0 0x06aaf2dc in memcpy () from /lib/tls/libc.so.6
#1 0x00723698 in SB_get_blob () from /u01/arcsde93/sdeexe93/lib/libsde.so
#2 0x005fc9f8 in S_extract_blob () from /u01/arcsde93/sdeexe93/lib/libsde.so
#3 0x005f9c5c in SE_stream_get_nclob_API () from /u01/arcsde93/sdeexe93/lib/libsde.so
#4 0x00601e86 in SE_stream_get_nclob () from /u01/arcsde93/sdeexe93/lib/libsde.so
#5 0x0810475f in sdeGetRecord (layer=0xa12eb08, shape=0xbff3b510) at mapsde.c:814
#6 0x08105f92 in msSDELayerNextShape (layer=0xa12eb08, shape=0xbff3b510) at mapsde.c:1697
#7 0x08071fa2 in msLayerNextShape (layer=0xa12eb08, shape=0xbff3b510) at maplayer.c:145
#8 0x080780d9 in msDrawVectorLayer (map=0xa10c198, layer=0xa12eb08, image=0xa16ec60) at mapdraw.c:985
#9 0x080787d5 in msDrawLayer (map=0xa10c198, layer=0xa12eb08, image=0xa16ec60) at mapdraw.c:745
#10 0x0807979c in msDrawMap (map=0xa10c198, querymap=0) at mapdraw.c:443
#11 0x08051630 in main (argc=6, argv=0xbff3b744) at shp2img.c:295
(gdb)

@jratike80
Copy link

Native support for ArcSDE removed in Mapserver 7.0, won't fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants