Displaying 20 results from an estimated 900 matches similar to: "Postgis on Rails"
2006 May 01
0
PostGIS and MySql Spatial Extensions in Rails
Hello,
This post is to announce a new release of the Spatial Adapter for Rails,
which is a plugin that adds support for columns of geometric types (point,
linestring, polygon,etc...) to ActiveRecord. Currently the only supported
databases are MySql and PostGIS.
With this release, geometric columns should behave like columns of any other
basic types in all areas: migration, data access, dumping
2013 Oct 08
0
PostGIS 2.1 rasters available to Rails code: breadcrumbs
Just wanted to post this in case someone else was faced with the same
problem. It''s database-specific code, worse, it''s specific to a particular *
version* of a particular *extension* to a particular database, wires in
SQL, and uses eval on a string of data from the database!
So, you know, I''m getting coal in my stocking from DHH this year. I can
deal. (After the
2019 Apr 11
2
postgis-2.0.7-2.el7 still in epel7-testing?
Hi all,
I'm looking for a fix in postgis, which seems to be fixed already in
postgis-2.0.7-2.el7.
However that package seems to be 'stuck' in the epel7-testing repository:
https://koji.fedoraproject.org/koji/buildinfo?buildID=750618
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-b6c229157e
Is there a reason that the package is not pushed to stable yet? Or can
it be
2007 Mar 28
0
CentOS 4.4 - postgis / postgres Issue
Hi
I know this is not directly centos related but if anyone has used
postgres before then that would be a help!! Normally i'm an oracle or
mysql guy.
I have to install a qa postgres box that uses postgis. All seems well
but when the devs import the schema this happens...
ERROR: could not access file "$libdir/libpostgis.so.0.9": No such file
or directory
and indeed that
2012 Aug 07
0
spatial_adapter and ruby_ldap
Hi,
I''m running rails 3.0.9 with activerecord 3.0.9 and have three database
connections in my rails application - LDAP connection, Oracle and Postgres
with PostGIS. I have installed gems GeoRuby v 1.3.4, spatial_adapter v
1.3.1, activerecord-oracle_enhanced-adapter v 1.4.0, ruby-ldap v 0.9.12 ,
pg v 0.14.0.
With both gems the spatial_adapter seem to work well which also is the case
2006 Jun 22
0
Simple Query of Postgis Posgresql database?
I need to make a simple read-only web query page that allows the user to
enter in a
longitude and latitude and get a list of areas within which those
coordinates occur.
I have a postgis (postgresql) databases that contain shape files for
county, township, range and section.
I can query these databases in the following way from within postgresql
in the database county
county=# SELECT name_lc
2017 Nov 27
0
Data expert position: PostGIS and spatial ecology, University of Florida, Fort Lauderdale, FL
The MabLab at the University of Florida's Fort Lauderdale Research and
Education Center (Davie, FL) is looking to fill an immediate opening for
the position of a Biological Scientist. We are looking for an enthusiastic,
highly motivated and responsible individual to join an exciting research
team focused on spatial ecology, from fine-scale movement and habitat
selection to range dynamics.
2007 May 30
4
Connecting to PostgreSQL/PostGIS from R (rgdal?)
Hello,
I've been trying every now and then to find a cross operating system
solution that would let me access PostgreSQL (and PostGIS) from R, or to
access R from PostgreSQL. I know of pl/r, which accomplishes the
latter, but has yet to be successfully ported to Windows. Similarly,
I've tried to use Rdbi and DBI, but I haven't had luck with those on
Windows either for connecting to
2004 Jul 13
2
Swiss IP10S using SIP
Has anyone had success getting the Swiss IP10S and the SIP ( IP10 SP
v0.0.1 (Build 4)) firmware working with Asterisk? If so do you have
copies of what worked in sip.conf and phone configuration files?
I can't seem to get the phone to register, it tries but is denied with
a Forbidden (which I am guessing is authentication). I tried without
a secret, but the phone seems to use swissvoice
2006 Apr 06
1
rounding of voronoi vertices using deldir()
Hello list,
I'm just getting started with using R - I have been trying over the past
day or so to work out a method for generating voronoi polygons for
PostGIS using SQL. I was able to put together a procedure which works
relatively well, but is somewhat inefficient. Someone on the PostGIS
list pointed me to the deldir() function in R, for which I can export a
text file with x/y coordinates
2006 Apr 25
1
IvyGIS --- Rails Engine for custom maps.
Hi. I''m announcing a Rails Engine for presenting maps based on your
own data, either rendered by Mapserver, or pulled directly out of
geometric database tables stored by PostGIS. There''s a demo here:
http://ivygis.mgxkernel.com:3000/canada
which shows a tiled, draggable version of a Mapserver demo map, with
mouse-sensitive park polygons and railroads (SVG in Firefox 1.5+,
2015 Jan 22
2
[LLVMdev] X86TargetLowering::LowerToBT
> On Jan 22, 2015, at 1:22 PM, Fiona Glaser <fglaser at apple.com> wrote:
>
> According to Agner’s docs, many CPUs have slower BT than TEST; Haswell has only 0.5 inverse throughput as opposed to 0.25, Atom has 1 instead of 0.5, and Silvermont can’t even dual-issue BT (it locks both ALUs). So while BT does seem have a shorter instruction encoding than TEST for TEST reg, imm32 where
2010 Feb 12
1
Assign Name of Data Frame
Hello R Experts,
How can I assign the name of a data frame with the argument of a
function? Specifically I am using RODBC to build local dataframes
from SAS datasets on a
remote server. I would like the local dataframe have the same name as
the source SAS dataset, and the function below is what I am
developing. However, the "substitute(table)" on the left side of the
assignment
2007 Oct 05
5
PostgreSQL, templates, and test databases
Hi everyone.
I''m having a bit of a problem with an application I''m currently
developing with Rails 1.2.3 and PostgreSQL, attempting to use test-first
development. Here''s the scenario:
* I have the usual three databases, with migrations. Testing has been
working beautifully.
* I need to store geographic data, so I add PostGIS to all three
databases (along with
2011 Aug 13
2
How do I subset a dataframe
I have a dataframe zeespan. One of the columns has the name "customer". The
data in the customer column is text. I would like to return a subset of the
dataframe with all rows that DON'T begin with either "ibm" or "exxon", or
"sears" in the customer column.
I tried .... subset(zeespan, customer != c("ibm" | "exxon" |
2015 Jan 22
3
[LLVMdev] X86TargetLowering::LowerToBT
Is that even a valid instruction? I thought TEST only took 32-bit immediates.
Fiona
> On Jan 22, 2015, at 2:48 PM, Chris Sears <chris.sears at gmail.com> wrote:
>
> The problem is that REX TEST reg,#(1<<37) is 10 bytes vs 5 bytes for REX BT reg,37.
> That's a large space penalty to pay for a possible partial update stall.
>
> So the idea of generating BT for
2015 Jan 22
3
[LLVMdev] X86TargetLowering::LowerToBT
Yeah, the alternative is to do movabs and then test, which is doable but I’m not sure if it’s worth it (surely BT + risk of flags merging penalty has to be better than two ops, one of which is ~9-10 bytes).
Fiona
> On Jan 22, 2015, at 2:59 PM, Chris Sears <chris.sears at gmail.com> wrote:
>
> My bad on that. So that's what the comment meant.
> That means BT is pretty much
2015 Jan 22
2
[LLVMdev] X86TargetLowering::LowerToBT
On Thu Jan 22 2015 at 3:32:53 PM Chris Sears <chris.sears at gmail.com> wrote:
> The status quo is:
>
> a) 40b REX+BT instruction for the 64b case
> b) 48b TEST for the 32b case
> c) unless it's small TEST
>
>
> You are currently paying a 16b penalty for TEST vs BT in the 32b case.
> That may be worth testing the -Os flag.
>
You'll want -Oz here, Os
2015 Jan 22
2
[LLVMdev] X86TargetLowering::LowerToBT
That’s not how partial-flags update stalls work. There is no independent tracking of individual bits in EFLAGS. This means that BT + CMOVNZ has a false dependency on whatever instruction wrote to EFLAGS before BT and requires an extra µop vis-a-vis TEST + CMOVNZ or SHR + AND.
Please do not use BT. It is a performance hazard. If you don’t believe me for some reason, here’s the relevant quote
2015 Jan 23
2
[LLVMdev] X86TargetLowering::LowerToBT
I suspect that this is because the mask in your example is the result of a variable shift, which (a) has it’s own performance and flags hazards pre-SHLX and (b) requires additional µops to do with TEST. I expect that ICC is putting a dummy TEST or XOR ahead of the BT to break the false flags dependency, as well.
If the mask were constant, I expect ICC would generate TEST instead (but I don’t