Re: [mapserver-users] OGR Geojson error

2020-09-29 Thread Weisbender, Eric
Thanks Kobben.  I think it might be more than a file naming issue.  Below is 
the response from ogrinfo but I can find anything related online.  Any ideas?


/usr/local/bin/ogrinfo 
http://opendata.arcgis.com/datasets/5da472c6d27b4b67970acc7b5044c862_0.geojson
ERROR 1: Peer's certificate has an invalid signature.
ERROR 1: Peer's certificate has an invalid signature.
FAILURE:
Unable to open datasource 
`http://opendata.arcgis.com/datasets/5da472c6d27b4b67970acc7b5044c862_0.geojson'
 with the following drivers.
  -> PCIDSK
  -> PDF
  -> EEDA
  -> ESRI Shapefile
  -> MapInfo File
  -> UK .NTF
  -> OGR_SDTS
  -> S57
  -> DGN
  -> OGR_VRT
  -> REC
  -> Memory
  -> BNA
  -> CSV
  -> GML
  -> GPX
  -> KML
  -> GeoJSON
  -> GeoJSONSeq
  -> ESRIJSON
  -> TopoJSON
  -> OGR_GMT
  -> WAsP
  -> OpenFileGDB
  -> XPlane
  -> DXF
  -> CAD
  -> Geoconcept
  -> GeoRSS
  -> GPSTrackMaker
  -> PGDUMP
  -> GPSBabel
  -> SUA
  -> OpenAir
  -> OGR_PDS
  -> WFS
  -> WFS3
  -> HTF
  -> AeronavFAA
  -> EDIGEO
  -> GFT
  -> SVG
  -> CouchDB
  -> Cloudant
  -> Idrisi
  -> ARCGEN
  -> SEGUKOOA
  -> SEGY
  -> ODS
  -> XLSX
  -> ElasticSearch
  -> Carto
  -> AmigoCloud
  -> SXF
  -> Selafin
  -> JML
  -> PLSCENES
  -> CSW
  -> VDV
  -> MVT
  -> TIGER
  -> AVCBin
  -> AVCE00
  -> NGW
  -> HTTP


Eric Weisbender | GIS Program Lead
Western Area Power Administration | Headquarters
(O) 720.962.7280 | weisb...@wapa.gov<mailto:weisb...@wapa.gov>

From: b.j.kob...@utwente.nl 
Sent: Saturday, September 26, 2020 2:53 AM
To: Weisbender, Eric ; mapserver-users@lists.osgeo.org
Subject: [EXTERNAL] Re: [mapserver-users] OGR Geojson error

It might be simply that file names beginning with  a number are always a bad 
idea, because several libs and systems out there have problems with it...?

--
Barend Köbben


On 25/09/2020, 16:45, "mapserver-users on behalf of Weisbender, Eric" 
mailto:mapserver-users-boun...@lists.osgeo.org>
 on behalf of weisb...@wapa.gov<mailto:weisb...@wapa.gov>> wrote:

Hello List,

I have two sources of geojson data in my map file.  One works fine the other 
does not.  The one that works streams into the browser when I go to it 
directly.  The other source downloads a file.  The one that does not work I get 
the following MapServer error.  Also the geojson sources are listed below.  The 
layer defs are the same in the mapfile.

Thanks in advance for your help.

Error:
msOGRFileOpen(): OGR error. Open failed for OGR connection in layer 
`fire_nifc_point .  File not found or unsupported format. Check server logs.


Works:  
http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_day.geojson<https://gcc02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fearthquake.usgs.gov%2Fearthquakes%2Ffeed%2Fv1.0%2Fsummary%2Fall_day.geojson=02%7C01%7C%7C0f22378af4d145891f5908d861f986da%7C31ae220fb94f463a9cfd15bbc9909df5%7C0%7C0%7C637367072099492666=aKFT%2B1hURzGSVSfk1h44nPYGwlxdE4QDPkKHeXhiHIk%3D=0>


No Worky:  
http://opendata.arcgis.com/datasets/68637d248eb24d0d853342cba02d4af7_0.geojson<https://gcc02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fopendata.arcgis.com%2Fdatasets%2F68637d248eb24d0d853342cba02d4af7_0.geojson=02%7C01%7C%7C0f22378af4d145891f5908d861f986da%7C31ae220fb94f463a9cfd15bbc9909df5%7C0%7C0%7C637367072099492666=j%2FlTPVAqXWFCsfAaQqsIKKH%2FE3o4jup0M%2FMQUxbMoNI%3D=0>



Eric Weisbender | GIS Program Lead
Western Area Power Administration | Headquarters
(O) 720.962.7280 | weisb...@wapa.gov<mailto:weisb...@wapa.gov>

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] OGR Geojson error

2020-09-25 Thread Weisbender, Eric
Hello List,

I have two sources of geojson data in my map file.  One works fine the other 
does not.  The one that works streams into the browser when I go to it 
directly.  The other source downloads a file.  The one that does not work I get 
the following MapServer error.  Also the geojson sources are listed below.  The 
layer defs are the same in the mapfile.

Thanks in advance for your help.

Error:
msOGRFileOpen(): OGR error. Open failed for OGR connection in layer 
`fire_nifc_point .  File not found or unsupported format. Check server logs.


Works:  http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_day.geojson


No Worky:  
http://opendata.arcgis.com/datasets/68637d248eb24d0d853342cba02d4af7_0.geojson



Eric Weisbender | GIS Program Lead
Western Area Power Administration | Headquarters
(O) 720.962.7280 | weisb...@wapa.gov

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] [EXTERNAL] mapserver geojson query

2020-04-24 Thread Weisbender, Eric
Hey List,


I am displaying earthquake data in mapserver with a geojson layer defined in my 
map file.  When I query an earthquake location on the map the utc date time 
value changes from 1587732345039 to -140555448.  My query template value is 
[time] and the geojson is below.  Thanks in advance for all your help.



{"type":"Feature","properties":{"mag":1.79,"place":"6km WSW of Tuttle, 
Oklahoma","time":1587732345039,"updated":1587733031903,"tz":-360,"url":"https://earthquake.usgs.gov/earthquakes/eventpage/ok2020ibgp","felt":null,"cdi":null,"mmi":null,"alert":null,"status":"reviewed","tsunami":0,"sig":49,"net":"ok","code":"2020ibgp","ids":",ok2020ibgp,","sources":",ok,","types":",geoserve,origin,phase-data,","nst":56,"dmin":0.1034796938,"rms":0.32,"gap":57,"magType":"ml","type":"earthquake","title":"M
 1.8 - 6km WSW of Tuttle, Oklahoma",

Eric Weisbender

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Accessing ArcSDE on secured site

2015-06-09 Thread Weisbender, Eric
The error I’m getting is very vague and it is the same in the DEBUG file.  
After about 5 minutes of trying to connect I get the following error…

msSDELayerOpen(): SDE error. SE_connection_create(): Operation Failed. (-1)

Thanks
Eric

From: michael.smith.e...@gmail.com [mailto:michael.smith.e...@gmail.com]
Sent: 2015, June, 08 4:06 PM
To: Weisbender, Eric
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Accessing ArcSDE on secured site

Eric,

This could be a certificate issue if your server certificate is not a standard 
one. You might need to load the cert to your local cert store.

You should ruin this with shp2img on the command line and turn up the debugging 
level and see what errors you're actually getting.

Michael Smith
Remote Sensing/GIS Center
US Army Corps of Engineers

On Jun 8, 2015, at 4:16 PM, Weisbender, Eric 
weisb...@wapa.govmailto:weisb...@wapa.gov wrote:
Hello,

A couple of weeks about I posted the question below and hear anything.  I was 
wondering if it went through and if anyone had any insight.

I am trying to access ArcSDE with mapserver on a secured site that uses 
https:// not http.  I keep getting an error saying Server Not Found.  Is this 
even possible and if so I would welcome any help.  Thanks in advance.

Eric

___
mapserver-users mailing list
mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] Accessing ArcSDE on secured site

2015-06-08 Thread Weisbender, Eric
Hello,

A couple of weeks about I posted the question below and hear anything.  I was 
wondering if it went through and if anyone had any insight.

I am trying to access ArcSDE with mapserver on a secured site that uses 
https:// not http.  I keep getting an error saying Server Not Found.  Is this 
even possible and if so I would welcome any help.  Thanks in advance.

Eric

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] Accessing ArcSDE on secured site

2015-05-28 Thread Weisbender, Eric
Hello,

I am trying to access ArcSDE with mapserver on a secured site that uses 
https:// not http.  I keep getting an error saying Server Not Found.  Is this 
even possible and if so I would welcome any help.  Thanks in advance.

Eric

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] Keyimage

2015-05-01 Thread Weisbender, Eric
Hello,

I can't find any reference to Keyimage in the MapServer mapfile documentation 
even when using the search option.  Can someone point me to the correct place.

Thanks,

Eric Weisbender

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Legend difference in 5.6.1 and 6.4.1 (mapserver)

2015-04-23 Thread Weisbender, Eric
Hello List,

With my legend font I am having the exact same problem on the exact same 
version of MapServer.  In the mean time I have reverted back to BITMAP font but 
would like to continue using TRUETYPE.  I have also tried multiple variation of 
Legend definition and am currently copying my old .ttf files from our previous 
server.  Any insight to this issue is greatly appreciated.

Thanks,

Eric Weisbender


-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of 
mapserver-users-requ...@lists.osgeo.org
Sent: 2015, April, 23 1:00 PM
To: mapserver-users@lists.osgeo.org
Subject: mapserver-users Digest, Vol 87, Issue 28

Send mapserver-users mailing list submissions to
mapserver-users@lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.osgeo.org/mailman/listinfo/mapserver-users
or, via email, send a message with subject or body 'help' to
mapserver-users-requ...@lists.osgeo.org

You can reach the person managing the list at
mapserver-users-ow...@lists.osgeo.org

When replying, please edit your Subject line so it is more specific than Re: 
Contents of mapserver-users digest...


Today's Topics:

   1. Re: Legend difference in 5.6.1 and 6.4.1 (mapserver)


--

Message: 1
Date: Thu, 23 Apr 2015 18:01:45 +0200
From: mapserver mapser...@markus-spring.de
To: j...@mapmedia.de, mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Legend difference in 5.6.1 and 6.4.1
Message-ID: 55391769.4070...@markus-spring.de
Content-Type: text/plain; charset=windows-1252; format=flowed

J?rg,

looks like this is a minefield :(

Strange enough, using bitmap fonts the class names don't get truncated, but 
then I don't have the beloved German umlauts. This sure enough looks like a 
miscalculation of the space the average letter of a proportional font needs and 
so the space allocated for the class name is too small.

Don't know why it worked in 5.6.1 but broke in the transition to 6.4.1

---Markus

Am 23.04.2015 um 11:28 schrieb J?rg Thomsen:
 Hallo Markus,

 I remember this thread:
 http://mapserver-users.umn.narkive.com/sUT3WyaT/wrong-different-legend
 -generation
 but I don't know the ending...

 In your legend definition you are using wrap, as I remember you have 
 to use html 'br /' for legends (in the class name). Additionally you 
 should use an offset to shift the text upward.

 In one of my projects I had to use up to three lines for the 
 description in the legend and I added dummy classes with white symbols 
 an nbsp; as name between each real class to have enough space for my text.

 perhaps this works for you too.

 J?rg

 Am 23.04.2015 um 09:45 schrieb mapserver:
 I am migrating my mapserver application from 5.6.1 to 6.4.1 and have 
 observed a difference in the created legend images, i.e. truncating 
 of class names - which makes the legend image unusable in the end

 The legend definition on both platforms is as such:

 LEGEND
KEYSIZE 22 12
LABEL
  TYPE TRUETYPE
  FONT arial
  SIZE 8
  COLOR 0 0 0
  WRAP @
END
STATUS ON
 END # legend

 Mapfile: Umlauts in html-encoding like
   CLASS NAME Ouml;ffentlicher Trauml;ger

 I have to use a truetype font, otherwise I can't render the German umlauts.

 mapserver 5.6.1 gives this result:

 http://maps.muenchen.de/wms-2/rgu/behindertenheime?version=1.1.1serv
 ice=WMSrequest=GetLegendGraphiclayer=l0format=image/pngSTYLE=defa
 ult


 and mapserver 6.4.1 gives this one:

 http://kronos.muenchen.de/wms/rgu/behindertenheime?version=1.1.1serv
 ice=WMSrequest=GetLegendGraphiclayer=l0format=image/pngSTYLE=defa
 ult


 Have I missed something in the migration guide? Or are there 
 parameter available to increase the legend size?

 Best regards - Markus
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users

 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users



--

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

End of mapserver-users Digest, Vol 87, Issue 28
***
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] qstring_validation_pattern

2015-04-07 Thread Weisbender, Eric
Thanks Steve.  Works great.

Thanks,
Eric Weisbender

From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
Sent: 2015, April, 06 3:44 PM
To: Weisbender, Eric; mapserver-users@lists.osgeo.org
Subject: RE: qstring_validation_pattern

Try using a VALIDATION block instead, e.g.:

VALIDATION
  qstring '.'
END

Steve

From: 
mapserver-users-boun...@lists.osgeo.orgmailto:mapserver-users-boun...@lists.osgeo.org
 [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Weisbender, Eric
Sent: Monday, April 06, 2015 4:30 PM
To: mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org
Subject: [mapserver-users] qstring_validation_pattern

Hello List,

I recently upgraded from MapServer 6.2.1 to MapServer 6.4.1.  When I did this 
my qstring_validation_pattern . in a layers METADATA definition doesn't 
work any longer.  I get the following.  Any help is greatly appreciated.

Parameter  qstring  value fails to validate msValidateParameter()

Thanks,

Eric Weisbender

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] qstring_validation_pattern

2015-04-06 Thread Weisbender, Eric
Hello List,

I recently upgraded from MapServer 6.2.1 to MapServer 6.4.1.  When I did this 
my qstring_validation_pattern . in a layers METADATA definition doesn't 
work any longer.  I get the following.  Any help is greatly appreciated.

Parameter  qstring  value fails to validate msValidateParameter()

Thanks,

Eric Weisbender

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] box query point data

2015-03-12 Thread Weisbender, Eric
Hello List,

I have a map file with an output projection of utm13.  When I define a point 
layer that is in wgs84 it will only query one point at a time with a single 
click.  When I try to query multiple points with a box query it returns 
nothing.  I can't find any documentation that even resembles this issue so any 
help is greatly appreciated.

Thanks
Eric

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] ArcSDE 10.2.2 Support

2015-01-16 Thread Weisbender, Eric
Hello List,

We have some MapServer 6.2.1 applications pulling data from ArcSDE 10.0 and are 
upgrading to ArcSDE 10.2.2.  I was wondering if it is a similar process where 
we just need to recompile MapServer/OGR against the ArcSDE 10.2.2 libraries or 
if ArcSDE 10.2.2 is even being supported yet.  Thanks in advance for your help.

Thanks,

Eric

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] FEATUREQUERY with SLAYER

2014-06-24 Thread Weisbender, Eric
Hello List,

I was wondering if there is an example of how to use FEATUREQUERY with SLAYER 
somewhere that I could reference for a project I am working on where I need to 
query features that intersect another feature.

Thanks
EW

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] FEATUREQUERY with SLAYER

2014-06-24 Thread Weisbender, Eric
Thanks Steve,

I think a look at the mapfile would be helpful.  Here is my scenario...  I have 
a file with multiple linear features in it.  I would like to type in a line 
name and return all the polygons that intersect that line.  I think I'm close 
but I just need to understand better how slayer works.

Thanks,

Eric Weisbender
GIS Program Lead
Western Area Power Administration
(720) 962-7280
weisb...@wapa.govmailto:weisb...@wapa.gov

From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
Sent: 2014, June, 24 8:38 AM
To: Weisbender, Eric; mapserver-users@lists.osgeo.org
Subject: RE: FEATUREQUERY with SLAYER

I've used it successfully in a number of places, here's one example:

  http://deli.dnr.state.mn.us/data_search.html

The search by county option uses mode=featurenquery. I can provide more detail 
if you need it since much of the configuration (and there's not much to it) is 
in the mapfile.

Steve

From: 
mapserver-users-boun...@lists.osgeo.orgmailto:mapserver-users-boun...@lists.osgeo.org
 [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Weisbender, Eric
Sent: Tuesday, June 24, 2014 8:10 AM
To: mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org
Subject: [mapserver-users] FEATUREQUERY with SLAYER

Hello List,

I was wondering if there is an example of how to use FEATUREQUERY with SLAYER 
somewhere that I could reference for a project I am working on where I need to 
query features that intersect another feature.

Thanks
EW

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] Data Query Issue

2014-06-06 Thread Weisbender, Eric
Hello list,

I am auto downloading two different sets of fire point data.  One comes in 
Geographic WGS84 the other in Geographic NAD83.  When I draw both at the same 
time and try a Query by Rectangle only the last one defined in the mapfile 
returns info.  If I reproject one to UTM then they both return information.  
This is an auto download every two hours so I would hate to have to mod the 
data.  I'm using version 6.2.1.  Query by point works fine.  Any ideas are 
greatly appreciate.

Thanks
Eric
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Data Query Issue

2014-06-06 Thread Weisbender, Eric
I have all that info in my system.  Below is what the data layer definitions 
look like and my map output projections is utm 13 nad 83 meters.  I've pretty 
much tried everything I can think of.  I always hit the mail list last.

LAYER
  NAME fire_modis
  METADATA
qstring_validation_pattern .
  END
  TYPE point
  STATUS OFF
  DATA /data/gis/vector/cso/fire_data/USA_contiguous_and_Hawaii_24h
  OPACITY ALPHA
  CLASS
NAME Active Fires / MODIS (NASA)
TEXT MODIS Fire
STYLE
  SYMBOL donut
  COLOR 0 0 0
  SIZE 16
  WIDTH 2
END
STYLE
  SYMBOL http://gis.hq.wapa.gov/ms_common/fire_modis.png;
  COLOR -1 -1 -1
  SIZE 12
  WIDTH 2
END
LABEL
   COLOR 0 0 0
   TYPE TRUETYPE
   FONT 'arial-bold'
   SIZE 8
   POSITION UR
   OFFSET 4 4
   OUTLINECOLOR 255 255 255
   MAXSCALEDENOM 30
   END
  END
  TEMPLATE /data/gis/www/html/ms_common/fires_modis.html
  HEADER /data/gis/www/html/ms_common/fires_modis_header.html
  FOOTER /data/gis/www/html/ms_common/fires_modis_footer.html
  TOLERANCE 10
  PROJECTION
  init=epsg:4326
  END
END

LAYER
  NAME fire_geomac
  METADATA
qstring_validation_pattern .
  END
  TYPE point
  STATUS OFF
  DATA /data/gis/vector/cso/fire_data/nifc_lrg_fires_dd83
  OPACITY ALPHA
  LABELITEM FIRE_NAME
  CLASS
NAME Active Fires / GeoMAC (USGS)
STYLE
  SYMBOL donut
  COLOR 240 0 0
  SIZE 16
  WIDTH 2
END
STYLE
  SYMBOL fire
  COLOR -1 -1 -1
  SIZE 12
  WIDTH 2
END
LABEL
   COLOR 240 0 0
   TYPE TRUETYPE
   FONT 'arial-bold'
   SIZE 8
   POSITION LL
   OFFSET 4 4
   OUTLINECOLOR 255 255 255
   FORCE TRUE
   MAXSCALEDENOM 30
   END
  END
  TEMPLATE /data/gis/www/html/ms_common/fires_geomac.html
  HEADER /data/gis/www/html/ms_common/fires_geomac_header.html
  FOOTER /data/gis/www/html/ms_common/fires_footer.html
  TOLERANCE 10
  PROJECTION
  init=epsg:4269
  END
END

Thanks,

Eric Weisbender
GIS Program Lead
Western Area Power Administration
(720) 962-7280
weisb...@wapa.govmailto:weisb...@wapa.gov

From: Basques, Bob (CI-StPaul) [mailto:bob.basq...@ci.stpaul.mn.us]
Sent: 2014, June, 06 1:18 PM
To: Weisbender, Eric; mapserver-users@lists.osgeo.org
Subject: RE: Data Query Issue

Eric,

Add a PROJECTION/END block inside of Each layer (based on the raw data 
projection for each layer)  and another at the map level for the projection you 
want to use for queries.  Mapserver will just transform the locations for you 
on the fly when you make a query.

Bobb


From: 
mapserver-users-boun...@lists.osgeo.orgmailto:mapserver-users-boun...@lists.osgeo.org
 [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Weisbender, Eric
Sent: Friday, June 06, 2014 1:56 PM
To: mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Data Query Issue

Hello list,

I am auto downloading two different sets of fire point data.  One comes in 
Geographic WGS84 the other in Geographic NAD83.  When I draw both at the same 
time and try a Query by Rectangle only the last one defined in the mapfile 
returns info.  If I reproject one to UTM then they both return information.  
This is an auto download every two hours so I would hate to have to mod the 
data.  I'm using version 6.2.1.  Query by point works fine.  Any ideas are 
greatly appreciate.

Thanks
Eric
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] MapServer and ArcSDE

2013-07-11 Thread Weisbender, Eric
Hello List,

I'm making this post so that others may avoid the pain that I just went 
through.  We finaly have a working install of MapServer 6.2.1 compiled with 
GDAL 1.9 on 64 Bit Linux Red Hat 6 Enterprise displaying and querying data from 
ArcSDE 10.0.  At first the data displayed fine with a patch to the mapsde.c 
file from Steve Lime, thanks Steve.  The problem we struggled with for weeks 
was querying SDE.  After a lot of internet searching and sleepless nights I 
came across the blurb of code below that was the game changer.  We added this 
to the mods that Steve made to the mapsde.c file and presto.  Anyway if anyone 
want to know more you can contact me through the list or at my email below.

Steve, I owe you a beer.



void msSDELayerFreeItemInfo(layerObj *layer)

{

#ifdef USE_SDE

msSDELayerInfo *sde = NULL;

int i;

if (!msSDELayerIsOpen(layer)) {

msSetError( MS_SDEERR,

SDE layer has not been opened.,

msSDELayerFreeItemInfo());

}

sde = layer-layerinfo;

if (sde != NULL  sde-basedefs) {

SE_table_free_descriptions(sde-basedefs);

sde-basedefs = NULL;

}

if (sde != NULL  sde-joindefs) {

SE_table_free_descriptions(sde-joindefs);

sde-joindefs = NULL;

}

if (layer-iteminfo) {

:


Thanks,

Eric Weisbender
Western Area Power Administration
Corporate Service Office
U.S. Dept. of Energy
office: (720) 962-7280
email: weisb...@wapa.govmailto:weisb...@wapa.gov

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] SDE Query server 500 error

2013-06-18 Thread Weisbender, Eric
Hello List,

I'm having some issues query an ArcSDE layer.  It draws fine but when I try to 
query it I get an Internal Server 500 error.  I'm wonder if it is like Janos's 
issue in this post.  
http://osgeo-org.1560.x6.nabble.com/ArcSDE-connection-tt4265649.html#none  The 
only problem is he's on Windows and I'm on Linux and don't have the first idea 
of how to go about a similar fix.  Any ideas or help is greatly appreciated.

Thanks,

Eric Weisbender

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] MapServer 6.2.1 and ArcSDE 10

2013-06-11 Thread Weisbender, Eric
Success!  Thanks again for all your help.  One last thing, do you suggest any 
of the other SDE Layer parameters that would improve the speed/performance.

Thanks,

Eric Weisbender
Western Area Power Administration
Corporate Service Office
U.S. Dept. of Energy
office: (720) 962-7280
email: weisb...@wapa.govmailto:weisb...@wapa.gov

From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
Sent: June 10, 2013 3:01 PM
To: Weisbender, Eric
Cc: Klein, Michael
Subject: RE: MapServer 6.2.1 and ArcSDE 10

Patch goes into your source directory and I believe you just do something like:

  patch 4531.diff

Or you can just edit mapsde.c by hand based on the patch- it's straight 
forward. Then just recompile.

Steve

From: Weisbender, Eric [mailto:weisb...@wapa.gov]
Sent: Monday, June 10, 2013 3:58 PM
To: Lime, Steve D (MNIT)
Cc: Klein, Michael
Subject: RE: MapServer 6.2.1 and ArcSDE 10

I just now realized that.  Where do I put the patch and how do I compile 
against it?

Thanks,

Eric Weisbender
Western Area Power Administration
Corporate Service Office
U.S. Dept. of Energy
office: (720) 962-7280
email: weisb...@wapa.govmailto:weisb...@wapa.gov

From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
Sent: June 10, 2013 2:00 PM
To: Weisbender, Eric
Subject: RE: MapServer 6.2.1 and ArcSDE 10

Looks like you still have a 64/32-bit type error. Did you apply the patch I 
supplied last week?

From: Weisbender, Eric [mailto:weisb...@wapa.gov]
Sent: Monday, June 10, 2013 2:53 PM
To: Lime, Steve D (MNIT); 
mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org
Subject: RE: MapServer 6.2.1 and ArcSDE 10

Hello,

I recompiled MapServer / SDE setting CFLAGS='-DSDE64'.  I am now getting the 
following error when I try to draw the SDE Layer.

msDrawMap(): Image handling error. Failed to draw layer named 'sde' 
sdeCopyShape(): SDE error. Unsupported SDE shape type (140733193388036).

This is my SDE Layer Definition.  Any help would be greatly appreciated.

LAYER
  NAME sde
  TYPE LINE
  STATUS OFF
  CONNECTION JLVGISGATEM,5353,sde,cso_editor,c1rcu1t#
  CONNECTIONTYPE SDE
  DATA RMR.MNT_SPANS,SHAPE,SDE.DEFAULT
  TEMPLATE /data/gis/www/html/ms_common/tlines.html
  CLASS
 STYLE
  COLOR 200 200 0
  WIDTH 10
 END
  END
END

Thanks,

Eric Weisbender
Western Area Power Administration
Corporate Service Office
U.S. Dept. of Energy
office: (720) 962-7280
email: weisb...@wapa.govmailto:weisb...@wapa.gov

From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
Sent: June 07, 2013 1:46 PM
To: Weisbender, Eric; 
mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org
Subject: RE: MapServer 6.2.1 and ArcSDE 10

Ah, I ran into this to as well, see ticket 
https://github.com/mapserver/mapserver/issues/4521. I've attached a diff that 
made things work well for me. Once a fix is put in place for 6.4 (git master) 
we can backport to 6.2.

Steve

From: 
mapserver-users-boun...@lists.osgeo.orgmailto:mapserver-users-boun...@lists.osgeo.org
 [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Weisbender, Eric
Sent: Friday, June 07, 2013 2:26 PM
To: mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org
Subject: [mapserver-users] MapServer 6.2.1 and ArcSDE 10

Hello,

We have successfully compiled MapServer 6.2.1 with ArcSDE10 and can see the SDE 
server ok.  When I try to draw a line layer I get the following error.

msDrawMap(): Image handling error. Failed to draw layer named 'sde' 
msSDELayerWhichShapes(): SDE error. getSDEQueryInfo(): Success. (0 
getSDEQueryInfo(): SDE error. SE_queryinfo_set_columns(): Invalid parameter 
value passed to function. (4294967230)

The layer definition looks like this and all of the parameters look good.

LAYER
  NAME sde
  TYPE LINE
  STATUS OFF
  CONNECTIONTYPE SDE
  CONNECTION JLVGISGATEM,5353,sde,cso_editor,c1rcu1t#
  DATA RMR.MNT_SPANS,SHAPE,SDE.DEFAULT
  TEMPLATE /data/gis/www/html/ms_common/tlines.html
  CLASS
 STYLE
  COLOR 200 200 0
  WIDTH 10
 END
  END
END

If anyone has an idea of what I am missing or doing wrong any help is greatly 
appreciated.


Thanks,

Eric Weisbender

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] MapServer 6.2.1 and ArcSDE 10

2013-06-11 Thread Weisbender, Eric
We'll do.  Thanks again.

Thanks,

Eric Weisbender
Western Area Power Administration
Corporate Service Office
U.S. Dept. of Energy
office: (720) 962-7280
email: weisb...@wapa.govmailto:weisb...@wapa.gov

From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
Sent: June 11, 2013 9:07 AM
To: Weisbender, Eric; mapserver-users@lists.osgeo.org
Cc: Klein, Michael
Subject: RE: MapServer 6.2.1 and ArcSDE 10

I've not done much tuning on my setup. I use SDE only when necessary and live 
with the performance issues. Tuning on the database itself is the best place to 
try and improve things. You might ping the list on this one, more folks use SDE 
in general than on 64-bit Linux.

Steve

From: Weisbender, Eric [mailto:weisb...@wapa.gov]
Sent: Tuesday, June 11, 2013 9:55 AM
To: Lime, Steve D (MNIT); 
mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org
Cc: Klein, Michael
Subject: RE: MapServer 6.2.1 and ArcSDE 10

Success!  Thanks again for all your help.  One last thing, do you suggest any 
of the other SDE Layer parameters that would improve the speed/performance.

Thanks,

Eric Weisbender
Western Area Power Administration
Corporate Service Office
U.S. Dept. of Energy
office: (720) 962-7280
email: weisb...@wapa.govmailto:weisb...@wapa.gov

From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
Sent: June 10, 2013 3:01 PM
To: Weisbender, Eric
Cc: Klein, Michael
Subject: RE: MapServer 6.2.1 and ArcSDE 10

Patch goes into your source directory and I believe you just do something like:

  patch 4531.diff

Or you can just edit mapsde.c by hand based on the patch- it's straight 
forward. Then just recompile.

Steve

From: Weisbender, Eric [mailto:weisb...@wapa.gov]
Sent: Monday, June 10, 2013 3:58 PM
To: Lime, Steve D (MNIT)
Cc: Klein, Michael
Subject: RE: MapServer 6.2.1 and ArcSDE 10

I just now realized that.  Where do I put the patch and how do I compile 
against it?

Thanks,

Eric Weisbender
Western Area Power Administration
Corporate Service Office
U.S. Dept. of Energy
office: (720) 962-7280
email: weisb...@wapa.govmailto:weisb...@wapa.gov

From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
Sent: June 10, 2013 2:00 PM
To: Weisbender, Eric
Subject: RE: MapServer 6.2.1 and ArcSDE 10

Looks like you still have a 64/32-bit type error. Did you apply the patch I 
supplied last week?

From: Weisbender, Eric [mailto:weisb...@wapa.gov]
Sent: Monday, June 10, 2013 2:53 PM
To: Lime, Steve D (MNIT); 
mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org
Subject: RE: MapServer 6.2.1 and ArcSDE 10

Hello,

I recompiled MapServer / SDE setting CFLAGS='-DSDE64'.  I am now getting the 
following error when I try to draw the SDE Layer.

msDrawMap(): Image handling error. Failed to draw layer named 'sde' 
sdeCopyShape(): SDE error. Unsupported SDE shape type (140733193388036).

This is my SDE Layer Definition.  Any help would be greatly appreciated.

LAYER
  NAME sde
  TYPE LINE
  STATUS OFF
  CONNECTION JLVGISGATEM,5353,sde,cso_editor,c1rcu1t#
  CONNECTIONTYPE SDE
  DATA RMR.MNT_SPANS,SHAPE,SDE.DEFAULT
  TEMPLATE /data/gis/www/html/ms_common/tlines.html
  CLASS
 STYLE
  COLOR 200 200 0
  WIDTH 10
 END
  END
END

Thanks,

Eric Weisbender
Western Area Power Administration
Corporate Service Office
U.S. Dept. of Energy
office: (720) 962-7280
email: weisb...@wapa.govmailto:weisb...@wapa.gov

From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
Sent: June 07, 2013 1:46 PM
To: Weisbender, Eric; 
mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org
Subject: RE: MapServer 6.2.1 and ArcSDE 10

Ah, I ran into this to as well, see ticket 
https://github.com/mapserver/mapserver/issues/4521. I've attached a diff that 
made things work well for me. Once a fix is put in place for 6.4 (git master) 
we can backport to 6.2.

Steve

From: 
mapserver-users-boun...@lists.osgeo.orgmailto:mapserver-users-boun...@lists.osgeo.org
 [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Weisbender, Eric
Sent: Friday, June 07, 2013 2:26 PM
To: mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org
Subject: [mapserver-users] MapServer 6.2.1 and ArcSDE 10

Hello,

We have successfully compiled MapServer 6.2.1 with ArcSDE10 and can see the SDE 
server ok.  When I try to draw a line layer I get the following error.

msDrawMap(): Image handling error. Failed to draw layer named 'sde' 
msSDELayerWhichShapes(): SDE error. getSDEQueryInfo(): Success. (0 
getSDEQueryInfo(): SDE error. SE_queryinfo_set_columns(): Invalid parameter 
value passed to function. (4294967230)

The layer definition looks like this and all of the parameters look good.

LAYER
  NAME sde
  TYPE LINE
  STATUS OFF
  CONNECTIONTYPE SDE
  CONNECTION JLVGISGATEM,5353,sde,cso_editor,c1rcu1t#
  DATA RMR.MNT_SPANS,SHAPE,SDE.DEFAULT
  TEMPLATE /data/gis/www/html/ms_common/tlines.html
  CLASS
 STYLE
  COLOR 200 200 0
  WIDTH 10
 END
  END
END

If anyone has

Re: [mapserver-users] MapServer 6.2.1 and ArcSDE 10

2013-06-10 Thread Weisbender, Eric
Hello,

I recompiled MapServer / SDE setting CFLAGS='-DSDE64'.  I am now getting the 
following error when I try to draw the SDE Layer.

msDrawMap(): Image handling error. Failed to draw layer named 'sde' 
sdeCopyShape(): SDE error. Unsupported SDE shape type (140733193388036).

This is my SDE Layer Definition.  Any help would be greatly appreciated.

LAYER
  NAME sde
  TYPE LINE
  STATUS OFF
  CONNECTION JLVGISGATEM,5353,sde,cso_editor,c1rcu1t#
  CONNECTIONTYPE SDE
  DATA RMR.MNT_SPANS,SHAPE,SDE.DEFAULT
  TEMPLATE /data/gis/www/html/ms_common/tlines.html
  CLASS
 STYLE
  COLOR 200 200 0
  WIDTH 10
 END
  END
END

Thanks,

Eric Weisbender
Western Area Power Administration
Corporate Service Office
U.S. Dept. of Energy
office: (720) 962-7280
email: weisb...@wapa.govmailto:weisb...@wapa.gov

From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
Sent: June 07, 2013 1:46 PM
To: Weisbender, Eric; mapserver-users@lists.osgeo.org
Subject: RE: MapServer 6.2.1 and ArcSDE 10

Ah, I ran into this to as well, see ticket 
https://github.com/mapserver/mapserver/issues/4521. I've attached a diff that 
made things work well for me. Once a fix is put in place for 6.4 (git master) 
we can backport to 6.2.

Steve

From: 
mapserver-users-boun...@lists.osgeo.orgmailto:mapserver-users-boun...@lists.osgeo.org
 [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Weisbender, Eric
Sent: Friday, June 07, 2013 2:26 PM
To: mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org
Subject: [mapserver-users] MapServer 6.2.1 and ArcSDE 10

Hello,

We have successfully compiled MapServer 6.2.1 with ArcSDE10 and can see the SDE 
server ok.  When I try to draw a line layer I get the following error.

msDrawMap(): Image handling error. Failed to draw layer named 'sde' 
msSDELayerWhichShapes(): SDE error. getSDEQueryInfo(): Success. (0 
getSDEQueryInfo(): SDE error. SE_queryinfo_set_columns(): Invalid parameter 
value passed to function. (4294967230)

The layer definition looks like this and all of the parameters look good.

LAYER
  NAME sde
  TYPE LINE
  STATUS OFF
  CONNECTIONTYPE SDE
  CONNECTION JLVGISGATEM,5353,sde,cso_editor,c1rcu1t#
  DATA RMR.MNT_SPANS,SHAPE,SDE.DEFAULT
  TEMPLATE /data/gis/www/html/ms_common/tlines.html
  CLASS
 STYLE
  COLOR 200 200 0
  WIDTH 10
 END
  END
END

If anyone has an idea of what I am missing or doing wrong any help is greatly 
appreciated.


Thanks,

Eric Weisbender

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] MapServer 6.2.1 and ArcSDE 10

2013-06-07 Thread Weisbender, Eric
Hello,

We have successfully compiled MapServer 6.2.1 with ArcSDE10 and can see the SDE 
server ok.  When I try to draw a line layer I get the following error.

msDrawMap(): Image handling error. Failed to draw layer named 'sde' 
msSDELayerWhichShapes(): SDE error. getSDEQueryInfo(): Success. (0 
getSDEQueryInfo(): SDE error. SE_queryinfo_set_columns(): Invalid parameter 
value passed to function. (4294967230)

The layer definition looks like this and all of the parameters look good.

LAYER
  NAME sde
  TYPE LINE
  STATUS OFF
  CONNECTIONTYPE SDE
  CONNECTION JLVGISGATEM,5353,sde,cso_editor,c1rcu1t#
  DATA RMR.MNT_SPANS,SHAPE,SDE.DEFAULT
  TEMPLATE /data/gis/www/html/ms_common/tlines.html
  CLASS
 STYLE
  COLOR 200 200 0
  WIDTH 10
 END
  END
END

If anyone has an idea of what I am missing or doing wrong any help is greatly 
appreciated.


Thanks,

Eric Weisbender

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Compile MapServer with ArcServer 10 support

2013-05-23 Thread Weisbender, Eric
Steve,

I Trying to MapServer with ArcServer 10 support using an EDN License.  First 
off, is this possible and secondly do you have an Idea of what disks I might 
find the include header and lib files on? 

Thanks,

Eric Weisbender

-Original Message-
From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us] 
Sent: March 18, 2013 2:04 PM
To: Weisbender, Eric; Smith, Michael ERDC-CRREL-NH; 
mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] Compile MapServer with ArcServer 10 support 
(UNCLASSIFIED)

I've successfully compiled against 10.0 on SuSE 11 (64-bit). Files were part of 
an SDE client DVD I had access to. Looks like:

root@maps:/opt/sde/sdeexe100 ls *
etc:
services.sde

include:
pe_coordsys_from_prj.h  pedef.h pef.h  pe_names.h  sderaster.h  sgerr.h  
sqlerr.h
pe_database.h   pe_errno.h  pe.h   sdeerno.h   sdetype.hsg.h 
sqlerrors.h

lib:
concurrent.jarlibgsrvrora11g100.so  libicuuc.so.40.1  
libsdedb2srvr100.so libsg.a
icu4j_3_2.jar libgsrvrpg100.so  libpe.a   
libsdeinfsrvr100.so libsg.so
jpe_sdk.jar   libicudata.so libpe.so  libsdejavautil.so 
  libxerces-c.so
jsde_sdk.jar  libicudata.so.40  libpq.so  
libsdeora10gsrvr100.so  libxerces-c.so.27
libgsrvrdb2100.so libicudata.so.40.1libpq.so.5
libsdeora11gsrvr100.so  libxerces-c.so.27.0
libgsrvrinf100.so libicuuc.so   libpq.so.5.1  libsdepgsrvr100.so
libgsrvrora10g100.so  libicuuc.so.40libsde.a  libsde.so


Compiling was pretty straight forward. I used the following SDE-related options:

  ./configure [lots of options removed] --with-sde=/opt/sde/sdeexe100 
--with-sde-version=100 CFLAGS=-DSDE64

Took a while to figure out the CFLAGS.

Steve


From: mapserver-users-boun...@lists.osgeo.org 
[mapserver-users-boun...@lists.osgeo.org] on behalf of Weisbender, Eric 
[weisb...@wapa.gov]
Sent: Monday, March 18, 2013 2:44 PM
To: Smith, Michael ERDC-CRREL-NH; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Compile MapServer with ArcServer 10 support  
(UNCLASSIFIED)

Thanks Mike,

We are on linux.  Can you give me an idea of what the development headers look 
like and where in the sde file structure I might find them?  MapServer 
Documentation on references arcsde 9.2.

Thanks,

Eric Weisbender
GIS Program Lead
Western Area Power Administration
Corporate Service Office
U.S. Dept. of Energy
12155 W. Alameda Parkway
Lakewood, CO
office: (720) 962-7280
fax: (720) 962-7269
email: weisb...@wapa.gov
39°42'25.06N
105° 8'13.61W



-Original Message-
From: Smith, Michael ERDC-CRREL-NH [mailto:michael.sm...@usace.army.mil]
Sent: March 18, 2013 1:32 PM
To: Weisbender, Eric; mapserver-users@lists.osgeo.org
Subject: RE: Compile MapServer with ArcServer 10 support (UNCLASSIFIED)

Classification: UNCLASSIFIED
Caveats: NONE

Eric,

I assume you mean ArcSDE support? If so, on windows, the ms4w release includes 
ArcSDE support. Find it at http://www.maptools.org/ms4w/

For linux, you just need to reference the arcsde development headers path in 
the ./configure path for --with-arcsde.

Mike

Michael Smith
Remote Sensing/GIS Center
US Army Corps of Engineers




-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Weisbender, Eric
Sent: Monday, March 18, 2013 3:22 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Compile MapServer with ArcServer 10 support

Hello,



Is there any documentation on how to compile MapServer with ArcServer 10 
support?  Any help is greatly appreciated.



Thanks,



Eric Weisbender




Classification: UNCLASSIFIED
Caveats: NONE


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] MapServer and SDE

2013-05-23 Thread Weisbender, Eric
I apologize for that last email being so garbled.  I'm trying to do several 
things at once.  Anyway,  here is what I was meaning to ask.



I am trying to compile MapServer with ArcServer 10 support using an EDN 
License.  First off, is this possible with just EDN and secondly do you have an 
Idea of what disks I might find the include header and lib files on?



Thanks,


Eric Weisbender
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] MapServer ArcSDE on Unix 64bit

2013-05-03 Thread Weisbender, Eric
Hello,

We have MapServer installed on a 64bit Unix box and are trying to recompile 
with ArcSDE support.  As far as I know ArcSDE only supports 32bit.  Has anyone 
had success compiling MapServer with ArcSDE in a 64bit environment?  If so, is 
it the same as documented on mapserver.org or are there special instructions or 
even examples somewhere.  Thanks in advance.

Eric
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Query one return multiple

2013-04-24 Thread Weisbender, Eric
Do you have a quick example in MapScript that I might be able to use?

Thanks,

Eric Weisbender
Western Area Power Administration
Corporate Service Office
U.S. Dept. of Energy
office: (720) 962-7280
email: weisb...@wapa.govmailto:weisb...@wapa.gov

From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
Sent: April 23, 2013 11:07 AM
To: Weisbender, Eric; mapserver-users@lists.osgeo.org
Subject: RE: Query one return multiple

I don't think so. If feature ids are sequential you might be able to link to a 
query that would get you the next feature. Depends on what client environment 
you're using.

You could do this with MapScript though.

Steve

From: 
mapserver-users-boun...@lists.osgeo.orgmailto:mapserver-users-boun...@lists.osgeo.org
 [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Weisbender, Eric
Sent: Wednesday, April 17, 2013 11:40 AM
To: mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Query one return multiple

Hello list,

I was wondering if there is a way to query a point and return not only 
attributes for that point but the next points attribute in order in the dbf.  
Thanks in advance.

Thanks,
EW
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Query one return multiple

2013-04-17 Thread Weisbender, Eric
Hello list,

I was wondering if there is a way to query a point and return not only 
attributes for that point but the next points attribute in order in the dbf.  
Thanks in advance.

Thanks,
EW
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Filter by date

2013-04-12 Thread Weisbender, Eric
Hello List

How would I FILTER a data set by the month and year ignoring the day.  An 
example of the field format is 1/11/2010.  I found the example below in the 
docs but I'm not quite sure how to format the filter to account for the 
slashes.  Any help is greatly appreciated.

FILTERITEM year
FILTER /^20[0-9][0-9]/


Thanks,
Eric

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Compile MapServer with ArcServer 10 support (UNCLASSIFIED)

2013-03-18 Thread Weisbender, Eric
Thanks Mike,

We are on linux.  Can you give me an idea of what the development headers look 
like and where in the sde file structure I might find them?  MapServer 
Documentation on references arcsde 9.2.

Thanks,

Eric Weisbender
GIS Program Lead
Western Area Power Administration
Corporate Service Office
U.S. Dept. of Energy
12155 W. Alameda Parkway
Lakewood, CO
office: (720) 962-7280
fax: (720) 962-7269 
email: weisb...@wapa.gov
39°42'25.06N
105° 8'13.61W



-Original Message-
From: Smith, Michael ERDC-CRREL-NH [mailto:michael.sm...@usace.army.mil] 
Sent: March 18, 2013 1:32 PM
To: Weisbender, Eric; mapserver-users@lists.osgeo.org
Subject: RE: Compile MapServer with ArcServer 10 support (UNCLASSIFIED)

Classification: UNCLASSIFIED
Caveats: NONE

Eric,

I assume you mean ArcSDE support? If so, on windows, the ms4w release includes 
ArcSDE support. Find it at http://www.maptools.org/ms4w/

For linux, you just need to reference the arcsde development headers path in 
the ./configure path for --with-arcsde.

Mike

Michael Smith
Remote Sensing/GIS Center
US Army Corps of Engineers




-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Weisbender, Eric
Sent: Monday, March 18, 2013 3:22 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Compile MapServer with ArcServer 10 support

Hello,

 

Is there any documentation on how to compile MapServer with ArcServer 10 
support?  Any help is greatly appreciated.

 

Thanks,

 

Eric Weisbender

 


Classification: UNCLASSIFIED
Caveats: NONE


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Photo Viewer

2013-02-15 Thread Weisbender, Eric
I got it to work.  Thanks for all your help.

Thanks,

Eric Weisbender
GIS Program Lead
Western Area Power Administration
Corporate Service Office
U.S. Dept. of Energy
12155 W. Alameda Parkway
Lakewood, CO
office: (720) 962-7280
fax: (720) 962-7269
email: weisb...@wapa.govmailto:weisb...@wapa.gov
39°42'25.06N
105° 8'13.61W
[cid:image003.jpg@01CE0B62.0D60C7B0]

From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
Sent: February 14, 2013 3:41 PM
To: Basques, Bob (CI-StPaul); Weisbender, Eric; mapserver-users@lists.osgeo.org
Subject: RE: Photo Viewer

Could try ANGLE 90 at the map level?

From: Basques, Bob (CI-StPaul)
Sent: Thursday, February 14, 2013 4:17 PM
To: Lime, Steve D (MNIT); Weisbender, Eric; 
mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org
Subject: RE: Photo Viewer

Ok, I sort of got something to work . . .

http://gis.ci.stpaul.mn.us/datasets/SHP/SAINT_PAUL/PUBLIC_WORKS/TEST/image_pixel_coord_public.map

http://gis.ci.stpaul.mn.us/datasets/SHP/SAINT_PAUL/PUBLIC_WORKS/TEST/image_pixel_coord_public.map?mapext=750+600+1100+925

Danged if I can figure out how to rotate the image (via the world file), 
nothing is happening with edits to the world file.

Still not responding to all the CGI parameters either.

MAPFILE:

MAP

NAME PHOTO
SIZE 2048 1536
EXTENT 0 0 2048 1536
UNITS feet

LAYER
  NAME photo
  DATA up_a_tree.jpg
  TYPE RASTER
  TRANSFORM FALSE
  STATUS DEFAULT
  UNITS PIXELS
END

END

WORLD FILE:

1.
0.
0.
1.
0.5
0.5

bobb

From: Lime, Steve D (MNIT)
Sent: Thursday, February 14, 2013 10:53 AM
To: Basques, Bob (CI-StPaul); Weisbender, Eric; 
mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org
Subject: RE: Photo Viewer
I would think it could be done, your extent would be given in pixels. Full 
extent is given as 0 0 width-1 height-1. Depends if the raster code respects 
the layer TRANSFORM parameter.

Steve

From: 
mapserver-users-boun...@lists.osgeo.orgmailto:mapserver-users-boun...@lists.osgeo.org
 [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Basques, Bob 
(CI-StPaul)
Sent: Thursday, February 14, 2013 10:34 AM
To: Weisbender, Eric; 
mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Photo Viewer

Eric,

Interesting idea.  I remember a thread a few years back about something similar 
being asked.

As far as the geo-referencing part, you can simply use the size of the image as 
your reference coordinate system for each image.  Mapserver is more generally 
suit towards combining different data into a single output, thus the need for a 
coordinate system to reference more than one layer.

So, the real question boils down to a technique for fooling MapServer into some 
sort of projection some how for each image.   Let me think on this a bit.  I 
wonder though about setting up something to register images to a location via a 
loading form which grabs the image size, etc.  Then they are put away with the 
sudo projection assigned to each image at the uploading point.

Bobb



From: 
mapserver-users-boun...@lists.osgeo.orgmailto:mapserver-users-boun...@lists.osgeo.org
 [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Weisbender, Eric
Sent: Thursday, February 14, 2013 10:03 AM
To: mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Photo Viewer

I would like to use MapServer as just an unreferenced image viewer for jpgs so 
I can zoom in and out on the image.  Everything I read says that images have to 
be georeferenced.  Any idea or even examples would be greatly appreciated.

Thanks,

Eric Weisbender
inline: image003.jpg___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Photo Viewer

2013-02-14 Thread Weisbender, Eric
I would like to use MapServer as just an unreferenced image viewer for jpgs so 
I can zoom in and out on the image.  Everything I read says that images have to 
be georeferenced.  Any idea or even examples would be greatly appreciated.

Thanks,

Eric Weisbender
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users