Re: [mapserver-users] getting error

2008-12-18 Thread José María Michia
2008/12/19 muzaffar hussain : > hi > > i am getting the following error if i am executing "shp2img -m ogr.map -o > test.png" > > msDrawMap(): Image handling error. Failed to draw layer named 'MyAqi'. > msOGRFileOpen(): OGR error. Open failed for OGR connection in layer > `MyAqi'. Fi > le not fo

[mapserver-users] getting error

2008-12-18 Thread muzaffar hussain
hi i am getting the following error if i am executing *"shp2img -m ogr.map -o test.png"* *msDrawMap(): Image handling error. Failed to draw layer named 'MyAqi'. msOGRFileOpen(): OGR error. Open failed for OGR connection in layer `MyAqi'. Fi le not found or unsupported format. * please help o

[mapserver-users] pdf OUTPUT format for annotation layer not working

2008-12-18 Thread José María Michia
Hi all! I get this error message with "TYPE ANNOTATION" in a polygon layer: $ shp2img -m ubicacion_regional.map -o p.pdf fatal exception: [1906] PDF_moveto: Floating point number 2147483648 too large for PDF With "TYPE polygon" the program runs normally. I've tried with MapServer version 5.2.1

[mapserver-users] Reference Map marker box not drawing

2008-12-18 Thread Ben Madin
G'day all, I seem to be regressing here - rushing before Christmas maybe? I am trying to draw a reference map (with the nice red box showing which part of the bigger map I am zoomed into. I took my initial map image, shrunk it down into a gif file, and saved it as my refmap.gif I added t

RE: [mapserver-users] Impact of InValid Geometry on PostGIS queries [SEC=UNCLASSIFIED]

2008-12-18 Thread Roppola, Antti - BRS
Hi Ben, Option "d" does exist. Proper GIS do not tolerate invalid geometries. You could import it into Arc/INFO and use "clean" and "build" for some heavy handed (but automatic) resolution of issues. You may come a cropper if you (or someone) makes the right (wrong) kind of query against dirty g

Re: [mapserver-users] regarding scalebar

2008-12-18 Thread Steve Lime
I provided a comprehensive answer yesterday. Even though your size is 144x5 that's the size of the whole scalebar image of which the actual bar is only a portion of. The bar is only 111 pixels wide so 6 is the correct value. Using your numbers this works out: 111/144 * 7.886242254 = 6.0789784

Re: [mapserver-users] Problem with query template

2008-12-18 Thread José María Michia
2008/12/18 RODIER BATISSE, ALEXANDRE > > Hi other time, > > > > Today my problem is: I define a wms service with the attached .map file. It > works well (i can see the map, wms conection is ok, legend likes good, etc.). > But identifier tools in my gis client (Arcgis and gvsig) doesn't work and

Re: [mapserver-users] tileindex without .jgw

2008-12-18 Thread Frank Warmerdam
Jochen Wagner wrote: Hi, I have some airial photos (format is .jpg) without any georeference-files (.jgw). But there is a shapefile with with the coordinates of the upper left, upper right, lower left and lower right coordinates and the rows and columns (pixels). The aerialphotos are rectangles

[mapserver-users] regarding scalebar

2008-12-18 Thread Amiya Patra
Hi. Please anyone give answer of my question.According to me It should be 7.886242254 as my scale bar size is (144X5).plz response ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.os

[mapserver-users] tileindex without .jgw

2008-12-18 Thread Jochen Wagner
Hi, I have some airial photos (format is .jpg) without any georeference-files (.jgw). But there is a shapefile with with the coordinates of the upper left, upper right, lower left and lower right coordinates and the rows and columns (pixels). The aerialphotos are rectangles but the shapes are trap

[mapserver-users] Problem with query template

2008-12-18 Thread RODIER BATISSE, ALEXANDRE
Hi other time, Today my problem is: I define a wms service with the attached .map file. It works well (i can see the map, wms conection is ok, legend likes good, etc.). But identifier tools in my gis client (Arcgis and gvsig) doesn't work and I cannot identifie the polygon values. The qu

Re: [mapserver-users] Impact of InValid Geometry on PostGIS queries

2008-12-18 Thread Benoît Andrieu
Hi Ben, Option A : from my own very little experience with postgis & mapserver, you'll have a little loss of performance. Option B : in the worst case, you'll get an error and mapserver will throw an exception to the client. Option C : poor guy... :) Option D : you should maybe try to put a ca

[mapserver-users] How can i use MapServer dbox for C# asp.net

2008-12-18 Thread Venkat Rao Tammineni
Dear All, I found url ,it looks good (Smoot zoom and pan etc..) http://maps.dnr.state.mn.us/tools/dbox/#introduction But I do not know how use in C# aps.net.If some one knows about ,please can you guide me. Advanced Thanks,

[mapserver-users] Impact of InValid Geometry on PostGIS queries

2008-12-18 Thread Ben Madin
G'day all, I have a roads shapefile which I imported in PostGIS, planning to merge several different countries data eventually. It is producing a layer on the map, and labels etc. However, the data isn't all good - in fact, about 10% is bad : es=# select IsValid(the_geom), count(gid) from