MapServer Users, I received a line shapefile that I am trying to use in an nquery call to mapserver. Everytime I perform an nquery on the layer I get two extra results in my template. Has anyone ran into this issue? I think I have the mapfile defined correctly, so I believe it might be an issue with the shapefile. Does anyone know what in a shapefile would cause this to happen? It is just a shapefile of roads and it appears to be fine (no extra records) when using it in ArcView. I have done many applications using nquery in the past and never ran into this issue before. Here is the URL that makes the nquery call and produces two extra records: http://demo.openmnnd.org/cgi-bin/mapserv.exe?map=/geomoose_install/ms4w/ apps/GeoMOOSE/maps_morton/identify.map&mapxy=313517.8472682601%205202126 .4672472775&layers=SectionLines%20RoadsQuery&mode=nquery Also here is the snippet from the mapfile that is being called. MAP NAME 'all layers' SIZE 800 650 STATUS ON EXTENT 208161.327 5147824.71 300060.94 5222515.03 UNITS METERS SYMBOLSET 'symbols/basics.sym' SHAPEPATH 'geomoose_install/ms4w/apps/GeoMOOSE/maps_morton' TRANSPARENT TRUE IMAGETYPE PNG QUERYMAP STATUS ON STYLE SELECTED END WEB IMAGEPATH "/ms4w/tmp/ms_tmp/" IMAGEURL "/ms_tmp/" HEADER 'header.html' FOOTER 'footer.html' EMPTY '/geomoose/query_miss.html' END
LAYER NAME 'RoadsQuery' DATA 'transportation/roads_new.shp' STATUS ON TYPE LINE MAXSCALE 300000 TOLERANCE 1 TEMPLATE 'transportation/identify_roads.html' END LAYER NAME 'SectionLines' DATA 'administrative/sections.shp' STATUS ON TYPE POLYGON TOLERANCE 0 TEMPLATE 'administrative/identify_plss.html' END END Any help or insights would be appreciated. Thanks, Brian Brian Fischer, CFM GIS Project Manager Houston Engineering, Inc. | Leave Nothing to ChanceTM 6901 East Fish Lake Road, Suite 140 Maple Grove, MN 55369 Phone: 763.493.4522 / Fax: 763.493.5572 Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Website: www.houstonengineeringinc.com <http://www.houstonengineeringinc.com/>
