RE: [mapserver-users] How to get data based on Date in Postgresql/PostGIS

2008-12-15 Thread Venkat Rao Tammineni
Dear Thomas, I have done with my task. Here the thing is we need to have all the field members with in the Query. Thanks for great response. Here is my Code:- Data "the_geom from (select gid,test,date,class,the_geom from globalnews where date='12/2/2008') as Foo USING UNIQUE gid USING 'SRID

RE: [mapserver-users] How to get data based on Date in Postgresql/PostGIS

2008-12-15 Thread Venkat Rao Tammineni
Dear Thomas, I am not getting Point layer.I am getting blank image.Below is my query. Data "the_geom from (select gid,the_geom from globalnews where news_date='12/2/2008') as foo using unique gid using srid=3000" I don't know what is foo? I am getting confuse on this. Globalnews is point layer a

Re: [mapserver-users] How to specify the nodata index to be used when outputting a PC256 GTiff with GDAL/GTiff dirver

2008-12-15 Thread Alexander Petkov
On Mon, Dec 15, 2008 at 4:24 PM, Gosselin, Andre wrote: > Hi, > > I have a LAYER based on a gtiff file reported as follows by gdalinfo : > > Band 1 Block=10800x1 Type=Byte, ColorInterp=Palette > NoData Value=255 > Color Table (RGB with 256 entries) > 0: 255,0,255,255 > 1: 250,0,255,2

[mapserver-users] How to specify the nodata index to be used when outputting a PC256 GTiff with GDAL/GTiff dirver

2008-12-15 Thread Gosselin, Andre
Hi, I have a LAYER based on a gtiff file reported as follows by gdalinfo : Band 1 Block=10800x1 Type=Byte, ColorInterp=Palette NoData Value=255 Color Table (RGB with 256 entries) 0: 255,0,255,255 1: 250,0,255,255 2: 240,0,255,255 3: 230,0,255,255 (snip) 253: 143,0,0,

Re: [mapserver-users] msTileSetup(): CGI error. Tile API is not available.

2008-12-15 Thread Christopher Schmidt
On Mon, Dec 15, 2008 at 05:24:39PM -0500, Chad Clabaugh wrote: > Hello, > > > > I'm creating my first map server and I'm trying to generate tiles for gmap > from shapfiles. I have successfully gotten the mapserver to render the > shapefiles using the following url: > > > > http://000.000.0

[mapserver-users] msTileSetup(): CGI error. Tile API is not available.

2008-12-15 Thread Chad Clabaugh
Hello, I'm creating my first map server and I'm trying to generate tiles for gmap from shapfiles. I have successfully gotten the mapserver to render the shapefiles by using the following url: http://000.000.000.000/cgi-bin/mapserv?map=/srv/www/htdocs/mapserver/coverag e.map

[mapserver-users] PostGIS 1.3.5

2008-12-15 Thread Paul Ramsey
The 1.3.5 release of PostGIS is available. I am cross-posting to Mapserver because of the particular interest for that community in this release. This release fixes a minor change in 1.3.4 that caused and Mapserver LINE layer to start crashing PostGIS. If you are using Mapserver and PostGIS, do no

[mapserver-users] msTileSetup(): CGI error. Tile API is not available.

2008-12-15 Thread Chad Clabaugh
Hello, I'm creating my first map server and I'm trying to generate tiles for gmap from shapfiles. I have successfully gotten the mapserver to render the shapefiles using the following url: http://000.000.000.000/cgi-bin/mapserv?map=/srv/www/htdocs/mapserver/coverag e.map

Re: [mapserver-users] problem using some fonts on pdf output

2008-12-15 Thread José María Michia
I've found that option "ANGLE=follow" not works with PDF output format. I guess it might be useful to send a message to where they are planning changes to the PDF support: >> And I see there's support for an alternate PDF library planned: >> http://trac.osgeo.org/mapserver/ticket/2661 So, i will

Re: [mapserver-users] Mapserver interacting with graphs and tables?

2008-12-15 Thread José María Michia
> I'm sure there are other Open Source tools to build the graphs in Flash. Or > you could > write your own helper tool with something like GD::Graph (Perl) or matplotlib > (python). I think that the following tools can be useful or interesting: http://www.teethgrinder.co.uk/open-flash-chart/ ht

Re: [mapserver-users] problem using some fonts on pdf output

2008-12-15 Thread José María Michia
2008/12/15 Brent Fraser : > José, > > I did some investigation and I think I found the line in mappdf.c that > needs to be changed, line 1318: > > /*load font using alias*/ > // font = PDF_load_font(pdf, "f1" ,0 ,"winansi", NULL > font = PDF_load_font(pdf, label->font ,0 ,"winansi", "embeddin

Re: [mapserver-users] wfs data conversion with ogr2ogr?

2008-12-15 Thread Frank Warmerdam
Knut Behrends wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I have received data from a WFS that was returned in this format: (Sample feature member) 4436682.0 5783076.0 4441086.0

Re: [mapserver-users] Mapserver interacting with graphs and tables?

2008-12-15 Thread Steve Lime
We've done it by feeding data to owtchart in a MapServer query template. You could also create a URL template response consisting of a call to owtchart. Here's an example page: http://www.dnr.state.mn.us/hunting/deer/mapit2003.html?imgxy=174.5+174.5&map=%2Fusr%2Flocal%2Fwww%2Fdocs_maps%2Fwild

Re: [mapserver-users] problem using some fonts on pdf output

2008-12-15 Thread Brent Fraser
José, I did some investigation and I think I found the line in mappdf.c that needs to be changed, line 1318: /*load font using alias*/ // font = PDF_load_font(pdf, "f1" ,0 ,"winansi", NULL font = PDF_load_font(pdf, label->font ,0 ,"winansi", "embedding=true" );// changed so (multiple)

Re: [mapserver-users] Please help me

2008-12-15 Thread Dan Little
Sounds like you have a multifaceted problem. Is SELINUX are requirement of your environment? If not ... you might just want to g'head and disable it. Before people get on my back, I know it's bad to disable SELINUX to fix problems ... but it's a good first step to diagnose if it is the root of

Re: [mapserver-users] Mapserver interacting with graphs and tables?

2008-12-15 Thread Bob Basques
Stef, I made a short Flash Demo (I just use Flash for these Demo's [so far]) of the popup capabilities of GeoMoose. I think it's close to the functionality you are describing. I've put this page up temporarily: http://rlb.gritechnologies.com/gismo/gismo3c4.html I can get into more detail

Re: [mapserver-users] Hiding map= from URL with FastCGI

2008-12-15 Thread Russell McOrmond
On Sat, 13 Dec 2008, Jochen Topf wrote: I assume you are using Apache. Add something like SetEnvIf Request_URI "/mapserv" MS_MAPFILE=/path/to/mapfile.map Thank you. This worked exactly as suggested. I hadn't realized that FastCGI passed environment variables from the Apache environment,

[mapserver-users] Please help me

2008-12-15 Thread Amiya Patra
Hello everyone... I have one serious problem. My application is not running. Suddenly It happens.I dont know why?? Actually Problem is that If I run my program by simple typing the url then my system becomes hang(not hang actually it becomes to much slow).If I run http then my cpu load average

[mapserver-users] Mapserver interacting with graphs and tables?

2008-12-15 Thread Stefan Schwarzer
Hi there, we've developed a couple of years ago a SVG application, which enables some interactivity between the graphs, maps and tables. Now, seeing more and more interactive applications out there (OECD Data Explorer, IMF, World Bank etc.), which are almost all based on Flex and Flash, I

Re: [MAPSERVER-USERS] WMS: layer status turned to on

2008-12-15 Thread Philippe Kruschitz
Hi Alexandre, Alexandre Dube wrote: > > Using MINSCALEDENOM and MAXSCALEDENOM could resolve your problem. Set > MINSCALEDENOM to 1 to the layers you don't want to show in the dummy > layer. > Thanks for the hint, I didn't think about it out at all. Setting MAXSCALEDENOM (instead of MINSCALE

[Re: [mapserver-users] wfs data conversion with ogr2ogr?]

2008-12-15 Thread Knut Behrends
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In this case feature is probably a point and feature coordinates and bbox are the same but perhaps a point should be introduced as a point as well? The features are placenames. I have tried these geometry types before: POINT, LINESTRING, POLYGON ...

Re: [mapserver-users] wfs data conversion with ogr2ogr?

2008-12-15 Thread Rahkonen Jukka
Hi, For me it looks like that gml does not contain actual feature coordinates, but the bounding box of the feature. In this case feature is probably a point and feature coordinates and bbox are the same but perhaps a point should be introduced as a point as well? just thinking, I do not unders

[mapserver-users] wfs data conversion with ogr2ogr?

2008-12-15 Thread Knut Behrends
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I have received data from a WFS that was returned in this format: (Sample feature member) 4436682.0 5783076.0 4441086.0 5786776.0