Re: [MapServer-users] Link in SLD doc returns an exception

2023-01-01 Thread Brent Fraser
MapServer Consulting and Training co-founder of FOSS4G http://gatewaygeo.com/ On 2022-12-30 5:34 p.m., Brent Fraser wrote: > > Hi All, > > I'm experimenting with SLD and reading the MapServer doc. On the SLD > page under Server Side Support, it says "Test the remote SLD request" &g

Re: [MapServer-users] Link in SLD doc returns an exception

2022-12-31 Thread Brent Fraser
somewhere on the web, but I did not use that method. I even removed the reference links in the header of the SLD, but I got the same error. Thanks again! Brent Fraser From: "Bjørn Ove Grøtan" Sent: 12/31/22 5:47 AM To: Brent Fraser

[MapServer-users] Link in SLD doc returns an exception

2022-12-30 Thread Brent Fraser
uests(): HTTP request error. HTTP GET request failed with status 404 () for https://demo.mapserver.org/ogc-demos/map/sld/sld_line_simple.xml Is the demo in a repo somewhere or does someone have some insight? Thanks! Best regards, Brent Fraser ___ Ma

Re: [MapServer-users] asking help

2022-12-05 Thread Brent Fraser
Try adding two newlines to the end of your "Content-Type" headers like print ("Content-Type: text/plain\n\n") From: "Boubacar Bah" Sent: 12/4/22 6:57 PM To: mapserver-users@lists.osgeo.org Subject: [MapServer-users] asking help hi everyone i would like

Re: [MapServer-users] ASKING HELP

2022-09-26 Thread Brent Fraser
-vector-editing.html) 3. Enable logging in TinyOWS. Use your browser's Developer Tools to step through your JavaScript and confirm the value of variables and the return values from OpenLayers' writeTransaction. Best Regards, Brent Fraser From: "Bou

Re: [mapserver-users] asking help about python except databsaseError syntaxe

2021-09-17 Thread Brent Fraser
Try putting quotes around the database password. From: "Boubacar Bah" Sent: 9/17/21 1:22 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] asking help about python except databsaseError syntaxe Hi everyone currently I am on a python

Re: [mapserver-users] Hide MAP Key file directory path

2021-04-12 Thread Brent Fraser
It looks like you are using QGIS Server (I think it used to be called mapserver), not this MapServer. Try https://documentation.qgis.org/3.16/en/docs/server_manual/introduction.html From: 1520 gis Sent: 4/12/21 9:28 AM To:

Re: [mapserver-users] Display of an RGB file

2020-04-14 Thread Brent Fraser
Asen, Your layer projection needs to match the tif file's project. I like to use PROJECTION AUTO END Best regards, Brent Fraser Original Message > From: "Radov, Asen (GSFC-619.0)[UNIVERSITY OF MARYLAND]" > Sent: April 1

Re: [mapserver-users] rotating a label 90 degrees.

2017-07-31 Thread Brent Fraser
Bob, Maybe using Javascript style GEOMTRANSFORM in the mapfle? http://www.mapserver.org/mapfile/geomtransform.html#javascript-transformation Best Regards, Brent Fraser From: "Basques, Bob (CI-StPaul)" <bob.basq...@ci.stpau

Re: [mapserver-users] OL3 email Forum

2017-05-26 Thread Brent Fraser
Bob, Try: https://groups.google.com/forum/#!forum/openlayers-dev Best Regards, Brent Fraser On 5/25/2017 11:02 AM, Robert Vogt wrote: Sorry for the off topic question, I just figured if anyone would know if there is an OpenLayers Email Forum this group would. -Bob

Re: [mapserver-users] Road shields on Mapserver 7

2017-02-23 Thread Brent Fraser
le > labels per class. > > > > Anyways, how can I add road shields in Mapserver 7? Apparently > annotation layers have been removed. > > > > Thanks! > > > > Sincerely, > > *Mark Volz, GISP*** > > > > *From:* Brent Fraser [mailto:bfra...@

Re: [mapserver-users] Road shields on Mapserver 7

2017-02-23 Thread Brent Fraser
geoanalytic.com>, "mapserver-users@lists.osgeo.org" <mapserver-users@lists.osgeo.org> Subject: RE: [mapserver-users] Road shields on Mapserver 7 Brent, I am using Mapserver 7.0.4. Sincerely, Mark Volz, GISP From: Brent Fraser [mailto:bfra...@geoanalytic

Re: [mapserver-users] Road shields on Mapserver 7

2017-02-23 Thread Brent Fraser
version of Mapserver? From: "Mark Volz" Sent: Thursday, February 23, 2017 10:50 AM To: "mapserver-users@lists.osgeo.org" Subject: [mapserver-users] Road shields on Mapserver 7 Hello,

Re: [mapserver-users] Cant get polygon labels to show up

2017-02-13 Thread Brent Fraser
Try using CLASS TEXT '[LOCATION]' LABEL instead of LABELITEM? Best Regards, Brent Fraser On 2/13/2017 8:46 PM, Stephen Woodbridge wrote: As a Followup, I used a hex editor to change the column name to uppercase and that did not change anything so its not a case probelm as far as I

Re: [mapserver-users] getting layers from tinyows

2017-02-05 Thread Brent Fraser
I had very good success using Jeff's MS4W to figure out tinyows. He has included demo data, a config file, and some doc to remove 95% of grunt work. Once you get an understanding of tinyows using MS4W (with mapserver 7.0.2), you can always migrate to 7.0.4... Best Regards, Brent Fraser

Re: [mapserver-users] Can I inject dataset directly into mapserver with API ?

2016-11-29 Thread Brent Fraser
as an intermediate data store? Best Regards, Brent Fraser On 11/29/2016 2:52 AM, newmapserver wrote: Hi, I'm a new user in MapServer. I would like to know if I can directly inject dataset into mapserver (with an API that send data for each position (latitude, longitude)) without using a connection

Re: [mapserver-users] RE Inconsistance between display and data

2016-02-17 Thread Brent Fraser
rendered as a railway). Another method is to use an output format of GML and output the area using shp2img then examine the output values. Best Regards, Brent Fraser On 2/17/2016 3:40 AM, Jean Somers wrote: The classification of the polyline base map data depends on the LAYER field, and for the

Re: [mapserver-users] RE Inconsistance between display and data

2016-02-16 Thread Brent Fraser
Perhaps the data is mis-classified? How is the symbol assigned to the data? Best Regards, Brent Fraser On 2/16/2016 6:38 AM, jeansomers wrote: I'm actually beyond projection, I don't even know which data this railway refers to! On Tue, 16 Feb 2016 at 14:36 Steve.Toutant [via OSGeo.org

Re: [mapserver-users] postgres layer not visible

2015-01-16 Thread Brent Fraser
Perhaps you could show us the Create Table statement from Postgres for your Fiumi_riproiettato table? Best Regards, Brent Fraser From: Maiorano Pasquale pasquale.maior...@ssi.it Sent: Friday, January 16, 2015 6:53 AM To: mapserver-users

Re: [mapserver-users] Map collaring techniques.

2014-12-20 Thread Brent Fraser
. And they required a [rotated] labelled graticule. In the end we had to use a combination of Mapserver, Arcview, and custom s/w. Let me know how your efforts turn out... Best Regards, Brent Fraser On 12/19/2014 12:43 PM, Basques, Bob (CI-StPaul) wrote: Hi Brent, Neat trick

Re: [mapserver-users] Map collaring techniques.

2014-12-19 Thread Brent Fraser
POINTS 70 70 70 530 730 530 730 70 70 70 END END END Also I've experimented with adding FORMATOPTIONs to OUTPUTFORMAT code (see http://lists.osgeo.org/pipermail/mapserver-dev/2009-January/008050.html) How big do you plan to make your maps? Will they include imagery? Best Regards, Brent Fraser

Re: [mapserver-users] Map data strategy

2014-06-25 Thread Brent Fraser
Paul, Have a read regarding TILEINDEXes (http://mapserver.org/optimization/tileindex.html). It may be useful to have one TILEINDEX (and one layer) per scale group (so a total of 6 layers). The TILEINDEX will provide a spatial limitation [min/max x/y] per file. Best Regards, Brent

Re: [mapserver-users] Grouping Postgres and join with

2014-06-20 Thread Brent Fraser
SELECT * FROM ne_10m_admin_0_map_units LEFT JOIN 'ODBC:postgres@Postgres,my_vew'.my_view ON ne_10m_admin_0_map_units.name=my_view.country Best Regards, Brent Fraser On 6/19/2014 7:21 AM, Tom wrote: Hi Jeff, Thanks for the reply. Yes, I did see that example, and tried a number of different

Re: [mapserver-users] Beginning MapServer User needs help

2014-04-24 Thread Brent Fraser
Deb, Which version of mapserver are you using? And what are the symptoms of the problem? Best Regards, Brent Fraser On 4/24/2014 12:25 PM, Deborah Traver wrote: Is anyone willing to help me figure out my issues? I am doing a tutorial on gistutor.com/mapserver http://www.gistutor.com

Re: [mapserver-users] join shp with csv

2014-03-13 Thread Brent Fraser
Jörg, According to the JOIN doc (mapserver.org/mapfile/join.html) on CSV, your template should use name_join: [test_2]/br where [test_2] is a concatenation of your JOIN NAME (test) and the column id (2) in the CSV file. Best Regards, Brent Fraser On 3/13/2014 8:09 AM, Jörg Thomsen wrote

Re: [mapserver-users] non spatial MSSQL data in a Layer JOIN

2014-01-09 Thread Brent Fraser
to say: ,basic'.basic and I saw your email re successfully joining to a new table. Maybe the key type of the old table is not compatible? Just grasping at straws... Best Regards, Brent Fraser On 1/9/2014 9:07 AM, KenHeer1 wrote: Again thanks for all the help. We're on the same page, what I

Re: [mapserver-users] Admin boundaries styling

2013-12-18 Thread Brent Fraser
' WIDTH 2 OUTLINECOLOR 150 150 150 END The white STYLE renders over top any existing dash pattern from an adjacent polygon. I've tried to make the white transparent but didn't have any luck with that, but at least the grey dashes don't collide. Best Regards, Brent Fraser On 12/18

Re: [mapserver-users] OGR ODBC Layer with Password

2013-12-17 Thread Brent Fraser
/OGRVRTDataSource PROCESSING CLOSE_CONNECTION=DEFER DATA myTable Best Regards, Brent Fraser On 12/17/2013 1:41 PM, Donald Kerr wrote: Jeff, Same password error, I'm afraid. It's as if MapServer is not passing the username/password combination. Many thanks. Regards, Donald

Re: [mapserver-users] Can't draw points from shapefile

2013-08-03 Thread Brent Fraser
): #Circle symbol SYMBOL NAME 'CIRCLE' TYPE ellipse FILLED true POINTS 1 1 END END and add a reference to it in the LAYER's STYLE object: STYLE SYMBOL 'CIRCLE' COLOR255 1 1 END Best Regards, Brent Fraser

Re: [mapserver-users] zoomable slider (looking) map from Mapserver

2013-04-09 Thread Brent Fraser
the CrossFilter (http://square.github.com/crossfilter/) example. Sorry, no solution; just encouragement... Best Regards, Brent Fraser On 4/9/2013 7:48 AM, Basques, Bob (CI-StPaul) wrote: All, Ok, granted weird title for a posting. I have a little reporting project that I'm thinking about related

Re: [mapserver-users] How to pass variables to a query template?

2013-04-09 Thread Brent Fraser
the Request keyword/values to the processquerytemplate function... Best Regards, Brent Fraser On 4/9/2013 1:58 PM, Bistrais, Bob wrote: I have some code which sends query results to a template for display, using the MapServer processquerytemplate method. This works fine, but I'd also like to pass

Re: [mapserver-users] Trouble coloring a raster

2013-03-05 Thread Brent Fraser
a single 8-bit band (grey or paletted), even if your image is say 3 band RGB. Best Regards, Brent Fraser On 3/5/2013 12:53 PM, Bistrais, Bob wrote: I have a geotiff raster which represents forested lands. I'd like it to display in green. I put in a Style section and specified a color

Re: [mapserver-users] Trouble coloring a raster

2013-03-05 Thread Brent Fraser
Bob, As Jeff indicates, you need an EXPRESSION in your CLASS, something like: EXPRESSION ([pixel] 100) The EXPRESSION has a look at each of the image's pixel values (and that's why it's slow) Best Regards, Brent Fraser On 3/5/2013 1:18 PM, Bistrais, Bob wrote: Yes, I had looked

Re: [mapserver-users] I've been accused of not using things the way they were intended, but . . . can a getcapabilities request be run through the MapServer TEMPLATE for output?

2013-01-28 Thread Brent Fraser
output (http://mapserver.org/output/template_output.html) returns feature info in a custom format ? Best Regards, Brent Fraser On 1/28/2013 8:02 AM, Basques, Bob (CI-StPaul) wrote: All, So, I was thinking about adding support for Raster pulling from AutoCAD work sessions directly. We've had

Re: [mapserver-users] Editing via Mapserver application?

2013-01-02 Thread Brent Fraser
Regards, Brent Fraser On 1/2/2013 12:00 PM, Bistrais, Bob wrote: I would like to build a MapServer-based application which includes the ability to edit features, and am posting to see what others have done. Our current stack includes a GeoMoose front end, that is, MapServer/PHP MapScript, and Open

Re: [mapserver-users] Reclassify raster cell values

2012-12-15 Thread Brent Fraser
If you just want to make the black disappear you could use MAP IMAGECOLOR 255 255 255 #set map's background color to white LAYER TYPE RASTER OFFSITE 0 0 0# make this color (black) of the input raster file transparent Best Regards, Brent Fraser On 12/10/2012 9:51 AM, ALT SHN

Re: [mapserver-users] Still impossible to force labels inside their polygons?

2012-12-12 Thread Brent Fraser
://lists.osgeo.org/pipermail/mapserver-dev/2011-December/011773.html Best Regards, Brent Fraser On 12/11/2012 7:33 AM, Mark Volz wrote: Hello, Earlier in the year I had asked about forcing labels in their polygons. And another person mentioned the issue in September. At the time Steve W

Re: [mapserver-users] Still impossible to force labels inside their polygons?

2012-12-12 Thread Brent Fraser
in areas of no other linework, but that may take some thought... Best Regards, Brent Fraser On 12/12/2012 10:40 AM, Mark Volz wrote: Brent, In the long run when servers get faster, more layers get cached, and users expect better cartography, I think that it would be worthwhile to implement

Re: [mapserver-users] Help - debug error

2012-12-07 Thread Brent Fraser
try putting your layer name in quotes * LAYER NAME '2013_PXD_Wells*' Best Regards, Brent Fraser On 12/7/2012 4:14 PM, Lin, Joyce wrote: Hello, Can somepone help me or explain me the error please: getString(): Symbol definition error. Parsing error near

Re: [mapserver-users] MapServer and 24bit Images

2012-12-05 Thread Brent Fraser
) EXPRESSION ([red] 100 AND [green] 100 AND [blue] 100) STYLE COLOR 0 255 0 END #Style END # Class END # Layer END # Map Best Regards, Brent Fraser On 12/5/2012 2:27 AM, Rahkonen Jukka wrote: Hi, You should try to give more exact description about your

Re: [mapserver-users] Image 24bits

2012-11-30 Thread Brent Fraser
no reason I can see not to classify a 24 bit (or higher?) image; somebody just needs to write the code... :) Best Regards, Brent Fraser On 11/28/2012 8:41 AM, Brent Fraser wrote: As I mentioned in the MS4W list, it sounds like a bug in Mapserver: WMS + Mapserver-with-CLASS + 24bit-raster-in-PostGIS

Re: [mapserver-users] Image 24bits

2012-11-28 Thread Brent Fraser
As I mentioned in the MS4W list, it sounds like a bug in Mapserver: WMS + Mapserver-with-CLASS + 24bit-raster-in-PostGIS = error You may want to show your mapfile here to get some feedback from others more experienced in using raster from PostGIS... Best Regards, Brent Fraser On 11/23/2012

Re: [mapserver-users] mapscript - msProcessProjection()

2012-10-17 Thread Brent Fraser
Mark, Does adding CONFIG PROJ_LIB \ms4w\proj\nad to your mapfile help? Best Regards, Brent Fraser On 10/17/2012 1:08 PM, Mark Volz wrote: Hello, I am working on page that uses php mapscript. The code works fine on my development Apache/MS4W computer. I am having trouble getting

Re: [mapserver-users] Echo PHP in a query template?

2012-10-05 Thread Brent Fraser
Regards, Brent Fraser On 10/5/2012 1:32 PM, Bistrais, Bob wrote: I am customizing a MapServer query template. I'd like to echo back some PHP code in the HTML template. But the process seems to ignore the PHP part. Here's a code example: !-- MapServer Template -- ? $test = php test!; ß

Re: [mapserver-users] Problem querying personal GDB

2012-07-05 Thread Brent Fraser
Bob, It's just a guess on my part. There was a similar post on the Geomoose list last year: http://osgeo-org.1560.n6.nabble.com/Geomoose-users-query-php-and-pgdb-tt4929185.html#a4929188 Best Regards, Brent Fraser On 7/5/2012 8:08 AM, Bistrais, Bob wrote: I see this is in the section

Re: [mapserver-users] World file creation

2012-07-05 Thread Brent Fraser
Regards, Brent Fraser On 7/5/2012 4:13 PM, Jeff Lake wrote: Thanks for the reply ... Lets ask this .. I am setting up an open source weather mapping application (php) I already know most of my target audience will not be able to install MapServer and or proj4. I have been trying to get a handle

Re: [mapserver-users] World file creation

2012-07-04 Thread Brent Fraser
/wiki/World_file) Best Regards, Brent Fraser On 7/3/2012 8:27 PM, Jeff Lake wrote: Maybe I'm not searching on the correct terms. But what is the magic formula for creating world files ?? I have a map of the US with the following projection info ullat=53.3638 ullon=-130.964 lrlat=18.2977 lrlon

Re: [mapserver-users] Problem querying personal GDB

2012-07-03 Thread Brent Fraser
Bob, You may need to add a using unique clause like using unique gid http://www.mapserver.org/input/vector/postgis.html#data-access-connection-method Best Regards, Brent Fraser On 7/3/2012 2:12 PM, Bistrais, Bob wrote: Please excuse me if this is redundant- I've also posted

Re: [mapserver-users] Curved Lines

2012-06-27 Thread Brent Fraser
I don't understand the question. What kind of curved line would you make given only two points? And the from the SELECT statement, the two points have the same coordinates. Best Regards, Brent Fraser On 6/26/2012 2:43 PM, juliap wrote: Hi all, I have the following layer of type line

Re: [mapserver-users] two shapes one layer/query

2012-06-27 Thread Brent Fraser
You could use two layers in the mapfile (and a REQUIRES keyword to link the display). Or use a UNION construct in the SQL, or create a view in the database using a UNION. Best Regards, Brent Fraser On 6/26/2012 7:37 PM, Jessica Clarke wrote: Hi, I'm trying to draw a 'shape' and a 'related

Re: [mapserver-users] Map Border

2012-06-23 Thread Brent Fraser
, Brent Fraser On 6/22/2012 8:16 PM, Matt McClelland wrote: Hi All I am wanting to output a map for printing, via WMS. Is there are way to put a 'border' on the map like in this example http://www.ghosttowns.com/Images/utm.jpg With the Graticule values in the margins? If not, does anyone have

Re: [mapserver-users] GeoSciML in Mapserver WFS

2012-04-26 Thread Brent Fraser
Maybe. Have a look at http://mapserver.org/output/template_output.html Best Regards, Brent Fraser On 4/25/2012 11:09 AM, John Callahan wrote: Does anyone have experience in implementing GeoSciML (instead of GML) through Mapserver WFS? I've read that Apache Cocoon can be used

Re: [mapserver-users] Mapserver MS4W PostGIS 2.0.0

2012-04-23 Thread Brent Fraser
https://github.com/mapserver/mapserver/issues/4186 Best Regards, Brent Fraser On 4/23/2012 2:46 PM, Donald Kerr wrote: John, I've just installed PostGIS 2.0.0 and I'm getting: msDrawMap(): Image handling error. Failed to draw layer named 'ABC

Re: [mapserver-users] Passing a mapfile via CGI

2012-04-16 Thread Brent Fraser
this method is suitable for rendering, it will be a problem if you want store variables for use in an identify operation (or maybe not; I wonder if a template name can be bound to a database column...) Best Regards, Brent Fraser On 4/16/2012 10:22 AM, Bob Basques wrote: All, Did anything ever

Re: [mapserver-users] Passing a mapfile via CGI

2012-04-16 Thread Brent Fraser
as a separate layer? So the user can turn individual trail on/off in a layer control? Best Regards, Brent Fraser On 4/16/2012 1:07 PM, Bob Basques wrote: Hmm, interesting apporach, reminds me of my ealier days with Oracle (before Oracle Spatial, where each feature type needed it's own table

Re: [mapserver-users] Passing a mapfile via CGI

2012-04-16 Thread Brent Fraser
substitution in the mapfile. The bigger problem is generating the GUI layer list with the pointers to the mapserver URLs. A script/database generated mapbook in GeoMoose, or JavaScript list for use with OpenLayers, etc... Best Regards, Brent Fraser On 4/16/2012 1:41 PM, Bob Basques wrote

Re: [mapserver-users] Passing a mapfile via CGI

2012-04-16 Thread Brent Fraser
It would make an interesting user extension in GeoMoose: - Based on some GUI trigger (a button?), request a list of layers from a URL (hey, a getCapabilites style service!), and populate/replace the layer list in the catalog. That would be cool... Best Regards, Brent Fraser On 4/16/2012 2

Re: [mapserver-users] Avoid labels over particular lines

2012-03-23 Thread Brent Fraser
of a minimal amount of graphics. Best Regards, Brent Fraser On 3/23/2012 10:24 AM, Lime, Steve D (DNR) wrote: Might the layer masking support described here http://mapserver.org/development/rfc/ms-rfc-79.html be relevant? One could create a mask around features you don't want covered

Re: [mapserver-users] Avoid labels over particular lines

2012-03-22 Thread Brent Fraser
Steve, I wonder if it would be possible/economical to extend the label cache to have some kind of feature density map/weighted mask to help in determining a preferred label location... Best Regards, Brent Fraser On 3/22/2012 6:19 PM, Stephen Woodbridge wrote: On 3/22/2012 8:09 PM, Matt

Re: [mapserver-users] mapserv 5 - 6 symbol question

2012-02-13 Thread Brent Fraser
OUTLINECOLOR 0 122 194 END END where the symbol def is: SYMBOL NAME 'dashed5' TYPE SIMPLE END SYMBOL NAME 'SmallDots' TYPE ELLIPSE POINTS 1 1 END END Best Regards, Brent Fraser On 2/13/2012 1:22 PM, Richard Greenwood wrote: I'm upgrading a site from

Re: [mapserver-users] Trouble connecting to PostGIS

2012-02-13 Thread Brent Fraser
mapfile and looking a the log. You can also execute the SQL statements shown in the log file using pgAdmin's SQL tool to see additional information. Best Regards, Brent Fraser On 2/13/2012 2:11 PM, Bistrais, Bob wrote: First of all, let me state that I am brand new to PostGIS and don't know

Re: [mapserver-users] RE: mapserver-users Digest, Vol 49, Issue 34

2012-02-13 Thread Brent Fraser
Maybe. I was just doing a load of a table to test TinyOWS and noticed the default is -1 for shp2pgsql. So I used the -s option: shp2pgsql -s 4269 tl_2010_27_place10.shp public.CensusCities CensusCities.sql Can you reload the table using an SRID on the commandline? Best Regards, Brent

Re: [mapserver-users] Trouble connecting to PostGIS

2012-02-13 Thread Brent Fraser
And I seem to recall needing to give some privileges on the spatial_ref_sys and geometry_columns tables to the user. Best Regards, Brent Fraser On 2/13/2012 3:05 PM, Puneet Kishor wrote: On Feb 13, 2012, at 3:35 PM, Bistrais, Bob wrote: Thanks Brent. The postgis user SHOULD have access

Re: [mapserver-users] Mapserver + PostGIS == Blank Screen

2012-02-12 Thread Brent Fraser
EXTENT143 -20 145 -19 so try that for the map extent (but I think it would be valid only if the contours were stored in a Geographic system and not a Projected system). What SRS are you storing your data in? The same as your display (EPSG:4326)? Best Regards, Brent Fraser On 2

Re: [mapserver-users] Mapserver + PostGIS == Blank Screen

2012-02-12 Thread Brent Fraser
-January/017272.html Best Regards, Brent Fraser On 2/12/2012 3:06 PM, cheryl buckley wrote: Hi Brent, Thanks for your reply. The SRS my data is stored in WGS84. Unfortunately, I am not getting configuration file right. I adjusted the map EXTENT to something smaller, Map Extent 16 -28 25

Re: [mapserver-users] Is it possible to combine between openlayers script and mapfile?

2012-02-02 Thread Brent Fraser
On 2/1/2012 9:53 PM, Vivaldi Al Barado wrote: Very thanks for your fast answer, Mr. Brent Fraser. I want to create a points using openlayers to describes realtime GPS tracking. But i want to insert the openlayers script into web tempate of the mapfile, can i do that? Yes, but in most (all

Re: [mapserver-users] Want to create a dynamic GPS Tracking using MapServer

2012-01-31 Thread Brent Fraser
some custom coding. There were a couple of sessions at FOSS4G 2007: http://www.foss4g2007.org/presentations/view.php?abstract_id=83 http://www.foss4g2007.org/presentations/view.php?abstract_id=253 Best Regards, Brent Fraser On 1/31/2012 1:37 AM, Vivaldi Al Barado wrote: Hi friends. I plan

Re: [mapserver-users] mapserver job

2012-01-11 Thread Brent Fraser
Regards, Brent Fraser On 1/11/2012 4:25 AM, gabriel munteanu wrote: Hi, I am looking for someone to join me in developing a map application. the job is remote. Basically, what we have to do is to create an editor in openlayers, save the features into a postgres/postgis db, then render the map

Re: [mapserver-users] Multi-Resolution Terrain Map File

2011-12-27 Thread Brent Fraser
to specify the target nodata value as well as the source nodata value when you tweak the directive for each of your elevation layers. But I haven't tried it... Best Regards, Brent Fraser On 12/27/2011 9:04 AM, Enzmann, Alexander R. wrote: Brent, Thanks for the tips. Was able to make some

Re: [mapserver-users] Multi-Resolution Terrain Map File

2011-12-24 Thread Brent Fraser
to colors on the fly. Best Regards, Brent Fraser How do I construct a map file that can handle different resolutions of terrain, with fallback to lower resolution when a no-value is found? In Google Earth Fusion, I can specify multiple terrain sources and tell it which value(s) represent

Re: [mapserver-users] Possibility to read DXF files?

2011-12-13 Thread Brent Fraser
Works for me. Confirm your version of GDAL supports DXF by issuing on the command line: ogrinfo --formats It should show: - DXF (read/write) Best Regards, Brent Fraser On 12/13/2011 2:03 AM, Micha wrote: Hello, i'm trying to read DXF files to represent them on a map. I heard

Re: [mapserver-users] GEOMTRANSFORM LABELPNT example

2011-12-11 Thread Brent Fraser
the difference. I need to look into that... Best Regards, Brent Fraser On 12/11/2011 10:57 AM, Jeff McKenna wrote: On 11-12-11 11:20 AM, Ian Walberg wrote: Here is the map file we are using ms4w 3.0.3. We thought the larger grey circle should be drawn in the center of the label text. What

Re: [mapserver-users] GEOMTRANSFORM LABELPNT example

2011-12-11 Thread Brent Fraser
Thomas, See comments below. Best Regards, Brent Fraser On 12/11/2011 12:26 PM, thomas bonfort wrote: I think this is all expected behavior, although the documentation may be incorrect. LABELPNT draws a marker on the geographic position the label is attached to. This corresponds

Re: [mapserver-users] GEOMTRANSFORM LABELPNT example

2011-12-11 Thread Brent Fraser
Thomas, I tracked it down to the LABELCACHE setting. LABELCACHE ON gives the expected results LABELCACHE OFF gives my old blue-dot-on-the-left results. See attached PDFs. Best Regards, Brent Fraser On 12/11/2011 1:05 PM, thomas bonfort wrote: There might have been a bug in the initial

Re: [mapserver-users] GEOMTRANSFORM LABELPNT example

2011-12-11 Thread Brent Fraser
(labelpoly)) would be a good addition, but I don't have a specific use-case. What were you planning to do the center of the label polygon? Best Regards, Brent Fraser On 12/11/2011 2:18 PM, Ian Walberg wrote: So is it expected that labelpnt generates a point with its center at the middle

Re: [mapserver-users] GEOMTRANSFORM LABELPNT example

2011-12-11 Thread Brent Fraser
Ian, Using the standard capabilities of a POINT layer wouldn't work? Best Regards, Brent Fraser On 12/11/2011 3:06 PM, Ian Walberg wrote: Brent, Ok, we had been using an earlier version of the mapserver documentation we had downloaded which had the text below. The latest version now

Re: [mapserver-users] GEOMTRANSFORM LABELPNT example

2011-12-11 Thread Brent Fraser
?) used as a clipping polygons of the layer's geometry to address: 8. Erase layer's geometry (but not other layers) under label - possible syntax: GEOMTRANSFORM ( clip( [labelpoly] ) ) - useful for labeling contours Best Regards, Brent Fraser On 12/11/2011 3:02 PM, Stephen

RE: [mapserver-users] GEOMTRANSFORM LABELPNT example

2011-12-10 Thread Brent Fraser
Ian, How are you specifying it in your mapfile? Brent Fraser Steve, We are still not seeing what we expect, we are testing with the ms4w 3.0.3 install, will this work? Thanks Ian -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun

Re: [mapserver-users] Georeferenced PDF output

2011-12-02 Thread Brent Fraser
No. GDAL can read a Geospatial PDF (and rasterize for output), but as far as I know none of Mapserver's output drivers produce georeferenced PDFs. Best Regards, Brent Fraser On 12/1/2011 11:05 PM, Rahkonen Jukka wrote: Hi, Mapserver can output PDF but can it produce also georeferenced PDF

Re: [mapserver-users] How to join to a MDB database for display on my map?

2011-11-18 Thread Brent Fraser
for labeling, etc: LABELITEM 'LINC' CLASSITEM 'STATUS' Best Regards, Brent Fraser On 11/18/2011 9:22 AM, boesiii wrote: I have a polygon shapefile showing parcel outlines and an access database containing owner names. I would like add a layer displaying the owner name but after reading

Re: [mapserver-users] Re: How to join to a MDB database for display on my map?

2011-11-18 Thread Brent Fraser
Regards, Brent Fraser On 11/18/2011 11:01 AM, boesiii wrote: Brent, I tried your suggestion, but I get an internal server error, when I turn on the layer. Part of MAP file below: CONNECTIONTYPE OGR CONNECTION 'D:/ms4w/apps/ftmagisapp_v2/maps/background/PLOTS.shp' DATA SELECT * FROM PLOTS

Re: [mapserver-users] Re: How to join to a MDB database for display on my map?

2011-11-18 Thread Brent Fraser
You may want to ask for help on the GDAL email list. Best Regards, Brent Fraser On 11/18/2011 11:44 AM, boesiii wrote: When I issue your text at the command line, ogrinfo starts to open the file but crashes after it opens the shapefile. http://osgeo-org.1803224.n2.nabble.com/file/n7009324

Re: [mapserver-users] displaying dems - build statistics from current extent

2011-11-17 Thread Brent Fraser
Mark, Not that I know of. I've wanted to do similar things (contrast stretch) with imagery. It would be nice to have some kind of plugin architecture in mapserver to do processing on the raster data. Best Regards, Brent Fraser On 11/17/2011 1:00 PM, Mark Volz wrote: Hello, I recently

Re: [mapserver-users] Configuring Mapserver in IIS - Anonymous Access?

2011-11-15 Thread Brent Fraser
, look at the Security tab, and give the IUSR_ write permission. Best Regards, Brent Fraser On 11/15/2011 3:19 AM, daz4805 wrote: Hi, I have a Mapserver virtual directory in C:\inetpub\wwwroot and I am able to generate a WMS layer through my site if the virtual directory in IIS has a tick

Re: [mapserver-users] graticule label position

2011-10-05 Thread Brent Fraser
David, If you mean a specific number of pixels from your neat line, the answer is no. Currently the graticule logic fixes the location from the edge of the image (i.e. the other side of the label). And it doesn't do tics. Best Regards, Brent Fraser On 10/5/2011 8:44 AM, Shorthouse

Re: [mapserver-users] graticule label position

2011-10-05 Thread Brent Fraser
Ok, that's a bug. Can you send me your map file? Best Regards, Brent Fraser On 10/5/2011 10:15 AM, Shorthouse, David wrote: Brent, Tics are not so much a big deal. If I understand correctly, something like this cannot be avoided? http://www.simplemappr.net/?map=1110 What I'd rather have

Re: [mapserver-users] graticule label position

2011-10-05 Thread Brent Fraser
I doubt if it is fixed. Some time ago I did some label positioning fixes on my local code version, so I'll test with that. I just thought your PROJECTION, EXTENT, and GRID layer def would get me started... Best Regards, Brent Fraser On 10/5/2011 10:28 AM, Shorthouse, David wrote

Re: [mapserver-users] Rendering weather data

2011-09-27 Thread Brent Fraser
components within a map file using CLASS, STYLE, and SYMBOL. Could be done with MapScript I suppose Best Regards, Brent Fraser On 9/27/2011 11:54 AM, Bob Basques wrote: Could the barb class be built up from primitives, stem anddifferent flags on the tail, based on the numbers passed

Re: [mapserver-users] Rendering weather data

2011-09-27 Thread Brent Fraser
may have to write a loader script Best Regards, Brent Fraser On 9/27/2011 12:03 PM, Paul Ramsey wrote: Once you have vectors, the classic trick I've seen for doing the barbs is to do math to map the windspeed into an appropriate char() value and store the barbs as TTF font entries. So you

Re: [mapserver-users] Rendering weather data

2011-09-27 Thread Brent Fraser
Norman, Many thanks for the link; it's good to see how others have approached the problem. The font referenced is an ESRI font so I don't think I can use it due to copyright, but perhaps I could construct my own using the same glyph indexes for compatibility. Best Regards, Brent Fraser

Re: [mapserver-users] efficiently displaying daily changing vector data

2011-09-21 Thread Brent Fraser
, not TrueType) arrow symbols described at the bottom of http://mapserver.org/mapfile/symbology/construction.html Best Regards, Brent Fraser On 9/20/2011 10:57 PM, Mr. Puneet Kishor wrote: I have just finished reading the following thread Mapserver - User - How to display vector symbols (direction

Re: [mapserver-users] Mapscript and wms client

2011-09-06 Thread Brent Fraser
Chris, Yes, last time I looked at the Google Maps TOS, you must use Google's API to use their map tiles. Best Regards, Brent Fraser On 9/5/2011 11:57 PM, Chris Jackson wrote: Hi Brent and Armin The GetCapapabilies bit threw me! Well the one I am trying to load is GEBCO which I think

Re: [mapserver-users] Mapscript and wms client

2011-09-05 Thread Brent Fraser
Chris, I don't think NASA's JPL is serving data anymore (although it does return a GetCapapabilies XML). Best Regards, Brent Fraser On 9/5/2011 3:53 PM, Chris Jackson wrote: Hi I am trying to use a remote WMS service in my mapfile and am not having any luck. I resorted to the MapServer

Re: [mapserver-users] IIS and mapfiles and also GDAL

2011-09-02 Thread Brent Fraser
/LowerRightX LowerRightY-20037508.34/LowerRightY TileLevel19/TileLevel TileCountX1/TileCountX TileCountY1/TileCountY YOrigintop/YOrigin /DataWindow ProjectionEPSG:900913/Projection BlockSizeX256/BlockSizeX BlockSizeY256/BlockSizeY BandsCount3/BandsCount Cache / /GDAL_WMS Best Regards, Brent Fraser On 9/2

Re: [mapserver-users] IIS and mapfiles and also GDAL

2011-09-02 Thread Brent Fraser
configuration is needed on the box - just an environment variable or some other setting in the mapfile...? Thanks Chris On 2 September 2011 16:04, Brent Fraser bfra...@geoanalytic.com mailto:bfra...@geoanalytic.com wrote: Chris, I've used the Iconic Rewriter with older versions of IIS

Re: [mapserver-users] layer classification with MapScript

2011-08-28 Thread Brent Fraser
and add it to the layer object. Then have mapscript process the features and render a map image by doing a draw() (and a legend graphic by doing a drawLegend()). Or, as others have suggested, you could pass an SLD to mapserver via WMS and request a legend graphic. Best Regards, Brent Fraser

Re: [mapserver-users] Dashed outline for polygon (migration to 6.0)

2011-08-26 Thread Brent Fraser
END END END Best Regards, Brent Fraser On 8/26/2011 7:00 AM, Petra Pietrasová wrote: Hi all, our mapserver is beeing migrated from version 5.6 (5.6.6) to version 6.0 (6.0.1). We have used Migration Guide for it. We have a problem with a polygon layer specifically with outline. We use

Re: [mapserver-users] dynamic layer classification

2011-08-26 Thread Brent Fraser
as a guide. Best Regards, Brent Fraser On 8/26/2011 11:50 AM, Mr. Puneet Kishor wrote: On Aug 26, 2011, at 12:39 PM, Brent Fraser wrote: Puneet, I think currently the short answer is Mapscript. I had a similar need last year (http://lists.osgeo.org/pipermail/mapserver-users/2010-March/065050

Re: [mapserver-users] MapServer GPS Tracking

2011-07-21 Thread Brent Fraser
http://www.osgeo.org/pipermail/mapserver-users/2011-June/069135.html Best Regards, Brent Fraser On 7/21/2011 8:21 AM, Eric Weisbender wrote: Can anyone point me to documentation / code on GPS Tracking with MapServer. Thanks EW ___ mapserver-users

Re: [mapserver-users] ms4w 2.3.1. and ArcSDE

2011-07-19 Thread Brent Fraser
is trying to load at run time). Best Regards, Brent Fraser On 7/19/2011 2:46 AM, Flavio Hendry wrote: Hi all Anyone successful installing and connecting to ArcSDE (9.0, SQL Server) with ms4w 2.3.1? We followed all instructions, however we get an internal server error ([error] [client 127.0.0.1

  1   2   3   >