[mapserver-users] ogr connection trouble

2011-02-23 Thread Josh Jordan
I am trying to get mapserver to draw an OGR layer, was wondering what this means in the OGRINFO readout, I get a series of fields with String (0.0), was wondering what (0.0) means or if its the problem? POPULATION: String (0.0)MALE: String (0.0)FEMALE: String (0.0) _

Re: [mapserver-users] Heatmap / choropleth from points attributes

2011-02-23 Thread Josh Jordan
First, you have to turn your points into shapes, theres some algorithm that will turn points into polygons with borders midway between each point.  Then, you have to add classes to the mapfile.  Add one class per color.  You have to calculate the bounds and color for each class like this: CLASS 

[mapserver-users] problem with PointFromColumns

2011-02-22 Thread Josh Jordan
I am using a VRT layer to show labels from a csv file.  I can get encoding='WKT' to work but encoding='PointFromColumns' does not draw anything.   In both cases, I can use ogrinfo -al on the vrt section and it works. When I replace this line- With this line-Mapserver can no longer render it. csv

RE: [mapserver-users] projecting in degrees

2010-08-24 Thread Josh Jordan
: "Josh Jordan" , "mapserver-users@lists.osgeo.org" Date: Tuesday, August 24, 2010, 12:10 PM My understanding of spatial reference systems(SRS) is that the units of the utilized by the SRS are inherently part of the definition.  When data is projected to a parti

[mapserver-users] projecting in degrees

2010-08-20 Thread Josh Jordan
I have shapefiles that are stored in degrees and they are displayed in degrees if there are no projections in the mapfile.  When displayed like this, they look like UTM world projection.  However, I need to display it in old style mercator where greenland is really big.  I can get mapserver to p

Re: [mapserver-users] maps all look squished

2010-08-20 Thread Josh Jordan
no difference. --- On Fri, 8/20/10, Rahkonen Jukka wrote: From: Rahkonen Jukka Subject: Re: [mapserver-users] maps all look squished To: "Josh Jordan" , mapserver-users@lists.osgeo.org Date: Friday, August 20, 2010, 11:22 AM Hi, I have never used any MabObj things, only shp2img, Map

Re: [mapserver-users] Re: maps all look squished

2010-08-20 Thread Josh Jordan
I have 8 shapefiles, only the states shapefiles returns a projection from ogrinfo.  It returns: GEOGCS["GCS_North_American_1983",    DATUM["North_American_Datum_1983",         SPHEROID["GRS_1980",6378137.0,298.257222101]],    PRIMEM["Greenwich",0.0],     UNIT["Degree",0.0174532925199433]] It fails

Re: [mapserver-users] maps all look squished

2010-08-20 Thread Josh Jordan
to have to write the same projection everywhere. I request the map image with:ms_newMapObj($PM_MAP_FILE); --- On Fri, 8/20/10, Rahkonen Jukka wrote: From: Rahkonen Jukka Subject: Re: [mapserver-users] maps all look squished To: "Josh Jordan" , mapserver-users@lists.osgeo.org Date: Friday