[mapserver-users] Get mvt ouput

2019-03-31 Thread BrainDrain
Hello! Is it possible to get map output (postis layers, custom projection) using vector type output format somehow? Cgi app (as wms service or mode=map) doesn't allow it as well as mapscript (c# bindings). Thank you very much! -- Sent from: http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4

[mapserver-users] Re: performance problem

2010-06-20 Thread BrainDrain
PROCESSING "CLOSE_CONNECTION=DEFER" -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/performance-problem-tp5169667p5202981.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list

[mapserver-users] Re: ONE PASS QUERY (RFC 52) - FEATURE OR BUG?

2010-03-23 Thread BrainDrain
Tamas, thanks for your great analysis and support) I'm looking into future with hope and optimism, expecting voting for combining (switching between) methods (somehow). I suppose that good perfomance (including query drawing/processing) requirement implies choosing proper, optimized data access d

[mapserver-users] Re: Cannot get a PostGIS layer to render in Mapserver...

2010-03-23 Thread BrainDrain
force_2d(GEOGRAPHY)? -- View this message in context: http://n2.nabble.com/Cannot-get-a-PostGIS-layer-to-render-in-Mapserver-tp4776199p4782840.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list maps

[mapserver-users] Re: mapserver not generating proper map

2010-03-22 Thread BrainDrain
If layer hasn't tilesSize/imageSize options it copies from map.baseLayer/map Did you set tileSize for map and every layer? What do you mean background (it's just a one layer)? I'm using OL 2.8 for a long time with raster base layers and transparent vector layer (both from mapserver) and I have no

[mapserver-users] Re: mapserver not generating proper map

2010-03-22 Thread BrainDrain
map = new OpenLayers.Map('<%=map.ClientID%>', {tileSize: new OpenLayers.Size(600,600)}); or layer.tileSize=new OpenLayers.Size(600,600); layer.imageSize = layer.tileSize; -- View this message in context: http://n2.nabble.com/mapserver-not-generating-proper-map-tp4776875p4777049.html Sent from

[mapserver-users] Re: Cannot get a PostGIS layer to render in Mapserver...

2010-03-22 Thread BrainDrain
I think you didn't not install postgis extensions correctly (You need for ex. function force_ 2d(geography)). Or your postgis version is lower than 1.3.5 (PostGIS adds support for geographic objects). -- View this message in context: http://n2.nabble.com/Cannot-get-a-PostGIS-layer-to-render-in-

[mapserver-users] ONE PASS QUERY (RFC 52) - FEATURE OR BUG?

2010-03-21 Thread BrainDrain
Please read carefully. 'old style' (two pass) query advantages: - in mapscript (c#) layer's query methods are CUMULATIVE (relative to other layer's queries). Query result (success/failure) has no effect on other layers when I call map.savequery. - In this case (query file contains just oid's) - I

[mapserver-users] Re: Help (tips&tricks) on raster dataset optimization

2010-02-17 Thread BrainDrain
I'm usinng next steps: //translating source tiles gdal_translate.exe -of GTiff -co COMPRESS=DEFLATE -co TILED=YES "\\server\Tiles\tile1_1.tif" "c:\Tiles\tile1_1.tif" //building virtual table gdalbuildvrt -resolution average mosaic.vrt c:\Tiles\*.tif //adding overviews gdaladdo -r average --co

[mapserver-users] Help (tips&tricks) on raster dataset optimization

2009-10-14 Thread BrainDrain
Hi, friends. I need an advice to choose some way to optimize my raster dataset. Source data: 39 geotiff files - satellite images of a city, each one is aprox. 600 mb uncompressed rgb/~250 mb lzw. To speedup rendering in different scales I can: 1) - transform source files into internally tiled fil

RE: [mapserver-users] clipping symbols at tile boundary?

2009-06-21 Thread BrainDrain
OL gutter helps with symbols but breaks labels. PARTIALS false doesn't help in this case. I didn't find solution how to avoid breaking labels while using gutter. I suppose the only one is to turn off gutter (prebuild OL map clone with no gutter) on scales when symbols are turned off (if symbols ar

Re: [mapserver-users] cgi output is not cached on client??? please help!

2009-04-14 Thread BrainDrain
It seems (visually, but I'm not sure) that response.Redirect(url, false) helps I dont know why I've added "http_max_age" "1209600" #2 weeks in seconds in map file web section to enable cahing it works when I use pure cgi, but doesn't work when i'm redirecting to cgi from my http handler this is

Re: [mapserver-users] cgi output is not cached on client??? please help!

2009-04-14 Thread BrainDrain
I've added "http_max_age" "1209600" #2 weeks in seconds in map file web section to enable cahing it works when I use pure cgi, but doesn't work when i'm redirecting to cgi from my http handler this is strange for me... Why mapserver cgi output is not cached on client? If image has the SAME url

[mapserver-users] cgi output is not cached on client??? please help!

2009-04-14 Thread BrainDrain
Why mapserver cgi output is not cached on client? If image has the SAME url it will be re-requested every time when I start a new instance of webapp. When I'm using my own httphandler (with map.draw() inside or webClient.DownloadData(url_to_mapservcgi)) I'm turning on caching with: response.Stat

RE: [mapserver-users] mapserver-users Digest, Vol 14, Issue 35

2009-03-16 Thread BrainDrain
+ http://code.google.com/p/mscompanion/ Verusa Domethildes wrote: > > > > Hi! > > I'm working in a GIS project and I have to implement a web portal. I know > MapLab, but I'd like to user another site for this application. Do you > know another suites of web-based tools to create and manage Ma

RE: [mapserver-users] mapserver-users Digest, Vol 14, Issue 35

2009-03-16 Thread BrainDrain
I'd recomend you to learn map file reference and create map files from scratch - it's the Mapserver's holy of holies - you just need to know it. No tool support's all flexibility and features. Mapserver publishers - QGis tool and arcgis (arcmap) plugin - can help you with first steps. Verusa Dome

Re: [mapserver-users] Prevalence of the use of queryfiles...

2009-03-16 Thread BrainDrain
I need queryfiles to persist query results (serialize to string/binary method wanted!) as a part of whole map 'state'. But I need more convenient, handy way to configure style of queried (selected) features. Style section to setup {border (color, line pattern, transparency), filling (color, fill p

[mapserver-users] Need advice to support caching mechanism

2009-03-16 Thread BrainDrain
Hi. I need to debate web map images caching technique. I'm using OpenLayers with tiled mapserver layer. But now I dissatisfied mapserver image request url scheme because it has variable map config file name (path) as a part (parameter), and some may be some other variable parts (for ex. OL use ran

Re: [mapserver-users] CGI (FastCGI) mode versus Mapscript?

2009-02-13 Thread BrainDrain
I can say about subj running on wintel systems (IIS). I've successfully setup mapserv cgi on win2003 & iis 6 in fastcgi mode using extension from iis.net. Visually it has nearly 2-3x performance effect. Response speed increases because of mapserv processes keep their instances (more than one in ii

[MAPSERVER-USERS] need smart windows wms client

2008-12-04 Thread BrainDrain
Could someone suggest me a windows desktop application, which allows to view mapserver 5.2.1 wms service responses (custom output projection) and correctly shows getFeatureResults (I use html templates) I've tried GeoMedia - it doesn't support getFeatureResults Gaia 3.2.1 - empty getFeatureResult

Re: Re[MAPSERVER-USERS] ad custom data via ogr

2008-10-27 Thread BrainDrain
? I need a push to the right direction BrainDrain wrote: > > I need to implement both mapserver and gdal/ogr plugins? > > Frank Warmerdam-2 wrote: >> >> BrainDrain wrote: >>> Is it really possible to read custom spatial data format with mapserver >>&g

Re: Re[MAPSERVER-USERS] ad custom data via ogr

2008-10-24 Thread BrainDrain
I need to both mapserver and gdal/ogr plugins? Frank Warmerdam-2 wrote: > > BrainDrain wrote: >> Is it really possible to read custom spatial data format with mapserver >> via >> gdal/ogr plugin and custom data provider (custom OGR Driver)? >> For example I nee

Re: [MAPSERVER-USERS] mapserver MSVC2005 development package available to download (was mssql2008 binary test package available to download)

2008-10-24 Thread BrainDrain
; step-into, step-out, watch windows, etc. > > Good luck, > > Ivan > > >> ---Original Message--- >> From: BrainDrain <[EMAIL PROTECTED]> >> Subject: Re: [MAPSERVER-USERS] mapserver MSVC2005 development package >> available to download (was m

Re[MAPSERVER-USERS] ad custom data via ogr

2008-10-24 Thread BrainDrain
Is it really possible to read custom spatial data format with mapserver via gdal/ogr plugin and custom data provider (custom OGR Driver)? For example I need to reed protected (encrypted) file data. Paul -- View this message in context: http://www.nabble.com/Read-custom-data-via-ogr-tp20145664p

Re: [MAPSERVER-USERS] mapserver MSVC2005 development package available to download (was mssql2008 binary test package available to download)

2008-10-24 Thread BrainDrain
must specify these directories for MS_DIR and > GDAL_DIR at the command like, like: > >> nmake -f makefile.vc gdal GDAL_DIR=gdal-1-5 >> BASE_DIR=C:\builds\release-1400-dev >> nmake -f makefile.vc ms MSL_DIR=mapserver-5-2 >> BASE_DIR=C:\builds\release-1400-dev > &g

[MAPSERVER-USERS] vector symbols disappears/breaks when using sizeunits

2008-10-21 Thread BrainDrain
I think this is a bug I 'm using symbols: SYMBOL NAME "street-axis-border-dashed" TYPE VECTOR FILLED FALSE POINTS .3 0 .6 0 -99 -99 .3 1 .6 1 END STYLE 5 2 END END SYMBOL NAME "e-1-1" TYPE ellipse FILLED TRUE POINTS 1 1 END END and polyline layer LAYER .

Re: [MAPSERVER-USERS] mssql2008 binary test package available to download

2008-10-20 Thread BrainDrain
.Default, > Encoding.Unicode.GetBytes(shape.getValue(k))); > string str = Encoding.GetEncoding(1251).GetString(bytes); > > > Best regards, > > Tamas > > > > 2008/10/17 BrainDrain <[EMAIL PROTECTED]>: >> >> hmm >>>>could y

Re: [MAPSERVER-USERS] mssql2008 binary test package available to download

2008-10-17 Thread BrainDrain
+ layer.index.ToString(), res } } : (object)res) : res[0]; } } Again access violation exception after modifying mapfile. Sql profiler says that query batch (select convert(varchar(max), STATUS),convert(varchar(max), STAGE),convert(varchar(max), id),GEOM from dbo.Construct where id = 1907

Re: [MAPSERVER-USERS] Query length with mapscript.

2008-10-16 Thread BrainDrain
I'd recommend you use queryByIndex with bAddToQuery=true to avoid this error I don't like 'in ()' operator at all)) Paul Moen-3 wrote: > > Is there a maximum length of the query text when setting a filter > with php mapscript? > > For example, > > I use > $tempLayer->setfilter('contract_id

Re: [MAPSERVER-USERS] mssql2008 binary test package available to download

2008-10-16 Thread BrainDrain
; > END > NAME "Erdo" > TYPE LINE > CONNECTIONTYPE PLUGIN > PLUGIN "msplugin_mssql2008.dll" > CONNECTION > "server=.\MSSQLSERVER2008;database=geodb;Integrated Security=true&qu

Re: [MAPSERVER-USERS] mssql2008 binary test package available to download

2008-10-15 Thread BrainDrain
I've tried this package it looks promising: but mapserv is unworking (maybe because I temporary mixed package with my bin files): problems with loading dll dependences (libmap, fastcgi etc) anyway mapscript_csharp draws layer from mssql2008 normally querybypoint works (at first sight) but now maps

[MAPSERVER-USERS] Forced using palette and alpha transparency

2008-10-14 Thread BrainDrain
Is it really possible to have transparency enabled using 8 bit palette? I have polygon layers with transparency 75 I have no problems with agg in 24 bit mode but when mapserv (or web service with mapscript_csharp swig binding) generate tiles (I use open layers) I have 'color tone differences' as y

RE: [MAPSERVER-USERS] ms sql 2008 spatial - still problems???

2008-10-10 Thread BrainDrain
sometimes access violation on mapObj construction ... only iisreset helps -- View this message in context: http://www.nabble.com/ms-sql-2008-spatial---still-problemstp19454300p19916793.html Sent from the Mapserver - User mailing list archive at Nabble.com. __

RE: [MAPSERVER-USERS] ms sql 2008 spatial - still problems???

2008-10-10 Thread BrainDrain
With new (from ms4w 2.3) plugin: mapserv.exe draws map but in mapscript c#: Access violation while map.draw() (sometimes, when panning, not every time) or for ex. error message: msDrawMap(): Image handling error. Failed to draw layer named 'construct1'.;msMSSQL2008LayerGetShape(): Query error. Err

Re: [MAPSERVER-USERS] SLD benefits

2008-10-10 Thread BrainDrain
What about usability? I suppose editing xml is not convenient/unerring way for everyone. Milo van der Linden wrote: > > BrainDrain wrote: >> Could someone clarify for me what benefits has SLD's which supported in >> MS >> irrespective of WMS? >> Does some ha

[MAPSERVER-USERS] SLD benefits

2008-10-09 Thread BrainDrain
Could someone clarify for me what benefits has SLD's which supported in MS irrespective of WMS? Does some handy tools for editing SLD's extists? (desktop apps/web UI's) - to create theirs separately (by 'publishers') and then applying to mapfile -- View this message in context: http://www.nabble

RE: [MAPSERVER-USERS] ms sql 2008 spatial - still problems???

2008-09-15 Thread BrainDrain
g00983.html > > http://www.bostongis.com/PrinterFriendly.aspx?content_name=sqlserver2008_postgis_mysql_compare > > > let me know .. > > Thanks and Regards > Venkat. > > -Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf O

[MAPSERVER-USERS] ms sql 2008 spatial - still problems???

2008-09-12 Thread BrainDrain
ANDA DERMA RM10 KEPADA SAYA, KAMI AKAN DERMA RM1000 KEPADA ANDA!! Senangkan...menguntungkan dan bijak.. Cuma saya mahu anda daftar dan ikuti langkah-langkah yang telah aturkan untuk anda.. Ingat!!! duit tak akan datang mengolek.. Link dibawah ini akan mengajar cara bagi membantu anda.. http://tiny

Re: [MAPSERVER-USERS] OpenSource Wind Symbol Fonts

2008-09-11 Thread BrainDrain
try to search here: http://www.dingbats-uk.org.uk/download/index.html Fawcett, David wrote: > > Can anyone point me to a truetype font set that contains wind > (direction/barb) symbols that are available under an OpenSource license? > > > Thanks, > > David. > > __

Re: [MAPSERVER-USERS] Highlighting query results

2008-09-02 Thread BrainDrain
Instead of draw query I use map.saveQuery to file and then 'queryFile' param of mapserv cgi. I think it is useful too (C# mapscript slower then cgi on windows). Steve Lime wrote: > > MapServer supports what's called a query map. It basically replaces the > color of the top-most > style for a lay

[MAPSERVER-USERS] How to handle correctly OL 'gutter' parameter with mapserver (illustrated)

2008-09-02 Thread BrainDrain
I use OpenLayers in conjunction with MapServer. I construct image with 256x256 tiles and when I got problem with partilal pixmap simbols 32x32 http://www.nabble.com/file/p19278385/ex1.jpg I have fixed it by using 'oversize' tile effect of putting gutter (16px) parameter into may OL layer: http://

Re: [MAPSERVER-USERS] FastCGI on IIS6 - how to test ?

2008-08-16 Thread BrainDrain
e some way of testing > before I start posting incorrect instructions ... > > I've not used to FastGIS so I'm not really sure what I should be looking > for > > On Sat, Aug 16, 2008 at 11:56 AM, BrainDrain <[EMAIL PROTECTED]> > wrote: >> >> Guy

Re: [MAPSERVER-USERS] FastCGI on IIS6 - how to test ?

2008-08-16 Thread BrainDrain
Guys, please (!!!) post here a kind of step-by-step instructions - how to setup mapserv fcgi (with module from iis.net) on iis6. I tried to do it but without success. With http://www.caraveo.com/fastcgi/ mapserv works but not very well. -- View this message in context: http://www.nabble.com/Fast

[MAPSERVER-USERS] problem: mapserv produces truncated image

2008-08-13 Thread BrainDrain
I have a correct map file & map extent set to some value tuple when I request map tiles (256x256) I use urls like this http://localhost/cgi-bin/mapserv.exe?layers=district_boundary&map=C%3A%2FWINDOWS%2FMicrosoft.NET%2FFramework%2Fv2.0.50727%2FTemporary%20ASP.NET%20Files%2Fwem%2Ff47bfcbf%2FSession_

Re: [MAPSERVER-USERS] problem with map.zoomToExtent

2008-08-12 Thread BrainDrain
OpenLayers works perfectly if it configured correctly. first of all you need to setup base OpenLayers layer (map server layer in your case as I understand). Note: OL uses some default values for map obj: DD units and EPSG:4326 proj (wgs84 LL) ... etc. You need to spec. your own. spatialreference.o

Re: [MAPSERVER-USERS] Problems calculating MAXSCALES

2008-08-12 Thread BrainDrain
For calculating MIN/MAXSCALEDENOM I use openlayers ria js lib (automatic zoom levels, supports map server layers), which is part of my web project. I have the same question as you - howto to get current scale value with mapscript. You can dig js code (openlayers: Map.js (getScale function) FixedZo

Re: [MAPSERVER-USERS] Memoryproblem

2008-08-12 Thread BrainDrain
I use mapscript c# in my project running in ms win 2003 std/ent r2 and iis6 all works perfect, but some problem related with writing png's exists in .net (v 2/3.5) imageObj imgRaw=null; imgRaw = map.draw(); //this works (without changing image format) using (MemoryStream ms = new MemoryStream(img

[MAPSERVER-USERS] ms4w bug: mapserv returns empty(blank) image

2008-08-12 Thread BrainDrain
I have this input projection for my layers "+proj=tmerc +lat_0=0 +lon_0=45 +k=1.00 +x_0=0 +y_0=0 +ellps=krass +towgs84=23.92,-141.27,-80.9,0,0,0,0 +units=mm +no_defs" (local coordsys) and this is output proj "+proj=tmerc +lat_0=0 +lon_0=45 +k=1.00 +x_0=0 +y_0=0 +ellps=krass +towgs84=23.92,

[MAPSERVER-USERS] new release of ms4w. When?

2008-07-09 Thread BrainDrain
Just waiting for new release of ms4w (upon mapserver 5.2 release). Is there any plans? (I need new mapscript c# most of all) -- View this message in context: http://www.nabble.com/new-release-of-ms4w.-When--tp18376361p18376361.html Sent from the Mapserver - User mailing list archive at Nabble.co

Re: [MAPSERVER-USERS] Problem while using Openlayer

2008-06-30 Thread BrainDrain
I can help you, If you are talking about OpenLayers RIA JavaScript library. But I need more concrete questions. OpenLayers has a great examples page to learn. Best API Docs here http://dev.openlayers.org/apidocs/, but not here http://dev.openlayers.org/releases/OpenLayers-2.6/doc/apidocs/files/Ope

RE: [MAPSERVER-USERS] mapObject serialization in C# (variant)

2008-06-11 Thread BrainDrain
-Original Message- >> From: [EMAIL PROTECTED] [mailto:mapserver-users- >> [EMAIL PROTECTED] On Behalf Of Tamas Szekeres >> Sent: martedì 10 giugno 2008 19:58 >> To: BrainDrain >> Cc: mapserver-users@lists.osgeo.org >> Subject: Re: [MAPSERVER-USERS] mapObj

[MAPSERVER-USERS] how to specify polyline width in ground units

2008-06-10 Thread BrainDrain
how can I specify polyline width in ground units without querying (because I will use queries for other tasks) and without variable substitution? for ex, I need constant (in real world units) line width for my layer 'Street Axes' TIA -- View this message in context: http://www.nabble.com/how-to-

[MAPSERVER-USERS] mapObject serialization in C# (variant)

2008-06-09 Thread BrainDrain
Is there any 'standart' fast(!) way/method to serialize (xml/json/other markup) mapObj in C#? I need it for using server mapObj as JSON on rich client app running on browser. Look at my method (using reflection): public static ListDictionary PartialSerialize(object instance, Stack callerTypes, T

Re: [MAPSERVER-USERS] help! agg palette quantize algorithmimperfection

2008-06-07 Thread BrainDrain
=~ /Color Table/) { > $doit = 1; > next; > } > > if($doit) { > ($r,$g,$b,$a) = split /,/, substr($_,7); > print "$r,$g,$b\n"; > } > } > > Works just fine... > > Steve > >>>> On 6/6/2008 at 3:24 PM, in message <[EMAIL P

Re: [MAPSERVER-USERS] help! agg palette quantize algorithm imperfection

2008-06-06 Thread BrainDrain
ave a few hundred symbols in my symbol library, but I only use about > 10 of them regularly so I made sure the primary colors were also in the > palette file. I make the script add them so I don't have to think about > it. > > It sounds like a big deal, but it not that

[MAPSERVER-USERS] help! strange preserving invalid query in mapobject

2008-06-06 Thread BrainDrain
I use mapscript in c#, data from postgis, map file is correct. My web service produce map image with mapObj.draw() method, mapObj stored in session state object to prevent useless mapfile parsing every time calling web server. My web app has an attribute query widget, which can initiate invalid qu

Re: [MAPSERVER-USERS] help! agg palette quantize algorithm imperfection

2008-06-06 Thread BrainDrain
you consistent colours for the ones you care about. > Specifically, you should reserve all the colours that you actually > reference in your map file plus any colours of pixmap symbols. Don't > put in more colours than you actually need to because MapServer needs > to use wh

[MAPSERVER-USERS] help! agg palette quantize algorithm imperfection

2008-06-06 Thread BrainDrain
I use this output format in my map file: OUTPUTFORMAT NAME "AGG_Q" DRIVER "AGG/PNG" MIMETYPE "image/png; mode=8bit" IMAGEMODE RGB EXTENSION "png" FORMATOPTION "QUANTIZE_FORCE=ON" FORMATOPTION "QUANTIZE_DITHER=OFF" FORMATOPTION "QUANTIZE_COLORS=256" END but every time map draw called (or ma